0.10.60 • Published 4 years ago
@tangleswap/uikit v0.10.60
TangleSwap UIkit
TangleSwap UIkit is a set of React components and hooks used to build pages on TangleSwaps's apps. It also contains a theme file for dark and light mode.
Install
yarn add @tangleswap/uikit
Setup
Theme
Before using TangleSwap UIkit, you need to provide the theme file to styled-component.
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@tangleswap/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
Reset
A reset CSS is available as a global styled component.
import { ResetCSS } from '@tangleswap/uikit'
...
<ResetCSS />
Types
This project is built with Typescript and export all the relevant types.
0.10.60
4 years ago
0.10.58
4 years ago
0.10.59
4 years ago
0.10.56
4 years ago
0.10.54
4 years ago
0.10.55
4 years ago
0.10.53
4 years ago
0.10.50
4 years ago
0.10.51
4 years ago
0.10.52
4 years ago
0.10.49
4 years ago
0.10.48
4 years ago
0.10.47
4 years ago
0.10.45
4 years ago
0.10.46
4 years ago
0.10.40
4 years ago
0.10.41
4 years ago
0.10.42
4 years ago
0.10.37
4 years ago
0.10.38
4 years ago
0.10.39
4 years ago
0.10.43
4 years ago
0.10.44
4 years ago
0.10.36
4 years ago
0.10.35
4 years ago