0.4.92 • Published 8 months ago

@jenesei-software/jenesei-ui-react v0.4.92

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

jenesei-ui-react

This is a frontend library for React from Jenesei Software. Test.

Customize the theme

To use themes in your application, create a declaration themes file and extend styled-comments as follows:

// styled.d.ts
import 'styled-components';
import { IJeneseiTheme } from '@jenesei-software/jenesei-ui-react';

declare module 'styled-components' {
  export interface DefaultTheme extends IJeneseiTheme {
    // Your additional theme properties
  }
}

Import JeneseiTheme and JeneseiGlobalStyles from our library and apply them in the root component of your application:

// app.tsx
import {
  JeneseiGlobalStyles,
  JeneseiTheme,
} from '@jenesei-software/jenesei-ui-react'

import 'react-ripple-click/dist/index.css'
import 'react-toggle/style.css'

function App() {
  return (
    ...
      <ThemeProvider theme={JeneseiTheme}>
        <JeneseiGlobalStyles />
        {/* Your components */}
      </ThemeProvider>
    ...
  )
}

Customize the cookie and local storage

//jenesei-ui-react.d.ts
import '@jenesei-software/jenesei-ui-react'

declare module '@jenesei-software/jenesei-ui-react' {
  export interface ValidCookieObject {
    access_token: string
    refresh_token: string
  }
  export interface ValidLocalStorageObject {
    access_token: string
    refresh_token: string
  }
}

IMPORTANT

Installing dependencies

To work correctly you need to install the following dependencies:

npm install react --save
npm install react-dom --save
npm install styled-components --save
0.4.92

8 months ago

0.4.91

8 months ago

0.4.86

8 months ago

0.4.87

8 months ago

0.4.85

8 months ago

0.4.82

8 months ago

0.4.83

8 months ago

0.4.80

9 months ago

0.4.88

8 months ago

0.4.89

8 months ago

0.4.79

9 months ago

0.4.78

9 months ago

0.4.42

10 months ago

0.4.43

10 months ago

0.4.40

10 months ago

0.4.41

10 months ago

0.4.48

9 months ago

0.4.49

9 months ago

0.4.46

9 months ago

0.4.47

9 months ago

0.4.44

10 months ago

0.4.45

9 months ago

0.4.75

9 months ago

0.4.76

9 months ago

0.4.73

9 months ago

0.4.74

9 months ago

0.4.71

9 months ago

0.4.72

9 months ago

0.4.77

9 months ago

0.4.64

9 months ago

0.4.62

9 months ago

0.4.63

9 months ago

0.4.60

9 months ago

0.4.61

9 months ago

0.4.68

9 months ago

0.4.69

9 months ago

0.4.66

9 months ago

0.4.67

9 months ago

0.4.53

9 months ago

0.4.54

9 months ago

0.4.51

9 months ago

0.4.52

9 months ago

0.4.50

9 months ago

0.4.59

9 months ago

0.4.58

9 months ago

0.4.55

9 months ago

0.4.56

9 months ago

0.4.39

10 months ago

0.4.37

10 months ago

0.4.36

10 months ago

0.4.35

10 months ago

0.4.34

10 months ago

0.4.33

10 months ago

0.4.32

10 months ago

0.4.30

11 months ago

0.4.29

11 months ago

0.4.28

11 months ago

0.4.27

11 months ago

0.4.26

11 months ago

0.4.25

11 months ago

0.4.24

11 months ago

0.4.23

11 months ago

0.4.22

11 months ago

0.4.21

11 months ago

0.4.20

11 months ago

0.4.19

11 months ago

0.4.18

11 months ago

0.4.17

11 months ago

0.4.16

11 months ago

0.4.15

11 months ago

0.4.14

11 months ago

0.4.13

11 months ago

0.4.12

11 months ago

0.4.11

11 months ago

0.4.10

11 months ago

0.4.9

11 months ago

0.4.8

11 months ago

0.4.7

11 months ago

0.4.6

11 months ago

0.4.5

11 months ago

0.4.0

11 months ago