0.32.12 • Published 3 years ago

crosswise-uikit v0.32.12

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Crosswise UIkit

Version Size

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

3 years ago

0.32.11

3 years ago

0.32.10

3 years ago

0.32.9

3 years ago

0.32.6

3 years ago

0.32.5

3 years ago

0.32.4

3 years ago

0.32.3

3 years ago

0.32.0

3 years ago

0.32.2

3 years ago

0.32.1

3 years ago

0.31.3

3 years ago

0.31.2

3 years ago

0.31.1

3 years ago

0.31.0

3 years ago

0.30.5

3 years ago

0.30.3

3 years ago

0.30.1

3 years ago

0.29.7

3 years ago

0.29.6

3 years ago