1.3.12 • Published 3 years ago

@dinowallet/uikit v1.3.12

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

Dinoswap UIkit

Version Size

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

Install

yarn add @dinoswap-libs/uikit

Setup

Theme

Before using Dinoswap UIkit, you need to provide the theme file to styled-component.

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

Reset

A reset CSS is available as a global styled component.

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

Types

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

How to use the UIkit

If you want to use components from the UIkit, check the Storybook documentation

1.3.10

3 years ago

1.3.9

3 years ago

1.3.8

3 years ago

1.3.11

3 years ago

1.3.12

3 years ago

1.3.7

3 years ago

1.3.6

3 years ago

1.3.5

3 years ago

1.3.4

3 years ago

1.3.3

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.0.0

3 years ago