1.0.19 • Published 2 years ago

dfswap-ui-copy v1.0.19

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

DFSWAP UIkit

Install

npm install dfswap-ui-copy

Setup

Theme

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

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

Reset

A reset CSS is available as a global styled component.

import { ResetCSS } from 'dfswap-ui-copy'
...
<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

How to publish

npm publish