0.32.12 • Published 4 years ago
crosswise-uikit v0.32.12
Crosswise UIkit
Crosswise UIkit is a set of React components and hooks used to build pages on Crosswise's apps. It also contains a theme file for dark and light mode.
Install
yarn add crosswise-uikit
Setup
Theme
Before using Crosswise UIkit, you need to provide the theme file to styled-component.
import { ThemeProvider } from 'styled-components'
import { light, dark } from 'crosswise-uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
Reset
A reset CSS is available as a global styled component.
import { ResetCSS } from 'crosswise-uikit'
...
<ResetCSS />
Types
This project is built with Typescript and export all the relevant types.
0.32.12
4 years ago
0.32.11
4 years ago
0.32.10
4 years ago
0.32.9
4 years ago
0.32.6
4 years ago
0.32.5
4 years ago
0.32.4
4 years ago
0.32.3
4 years ago
0.32.0
4 years ago
0.32.2
4 years ago
0.32.1
4 years ago
0.31.3
4 years ago
0.31.2
4 years ago
0.31.1
4 years ago
0.31.0
4 years ago
0.30.5
4 years ago
0.30.3
4 years ago
0.30.1
4 years ago
0.29.7
4 years ago
0.29.6
4 years ago