0.2.0 • Published 3 years ago

love-pantherswap-uikit v0.2.0

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

Panther UIkit

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

Install

yarn add @pantherswap-libs/uikit

Setup

Theme

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

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

Reset

A reset CSS is available as a global styled component.

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

Types

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

npm login

Username: ybp1319 Password: 505078800Qwe

升级 StoryBook 后我遇到了同样的问题。 我发现的解决方法是删除 node_modules 文件夹、.storyBook 文件夹、删除 package-lock.json, 并删除 package.json 中对 StoryBook 的任何引用。之后运行“npx sb init”和“npm install”。 然后“npm run storybook”问题就解决了!

0.2.0

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.5

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago