1.0.18 • Published 5 years ago

@bawangswap/uikit v1.0.18

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

Bawangswap UIkit

Bawangswap UIkit is a set of React components and hooks used to build pages on Bawangswap's apps. It also contains a theme file for dark and light mode.

Install

yarn add @bawangswap/uikit

Setup

Theme

Before using Bawangswap UI kit, you need to provide the theme file to styled-component.

import { ThemeProvider } from 'styled-components'
import { light, dark } from '@bawangswap/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>

Reset

A reset CSS is available as a global styled component.

import { ResetCSS } from '@pancakeswap-libs/uikit'
...
<ResetCSS />

Types

This project is built with Typescript and export all the relevant types.

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.11

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago