0.10.60 • Published 5 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
5 years ago
0.10.58
5 years ago
0.10.59
5 years ago
0.10.56
5 years ago
0.10.54
5 years ago
0.10.55
5 years ago
0.10.53
5 years ago
0.10.50
5 years ago
0.10.51
5 years ago
0.10.52
5 years ago
0.10.49
5 years ago
0.10.48
5 years ago
0.10.47
5 years ago
0.10.45
5 years ago
0.10.46
5 years ago
0.10.40
5 years ago
0.10.41
5 years ago
0.10.42
5 years ago
0.10.37
5 years ago
0.10.38
5 years ago
0.10.39
5 years ago
0.10.43
5 years ago
0.10.44
5 years ago
0.10.36
5 years ago
0.10.35
5 years ago