0.10.60 • Published 3 years ago

@tangleswap/uikit v0.10.60

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

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

3 years ago

0.10.58

3 years ago

0.10.59

3 years ago

0.10.56

3 years ago

0.10.54

3 years ago

0.10.55

3 years ago

0.10.53

3 years ago

0.10.50

3 years ago

0.10.51

3 years ago

0.10.52

3 years ago

0.10.49

3 years ago

0.10.48

3 years ago

0.10.47

3 years ago

0.10.45

3 years ago

0.10.46

3 years ago

0.10.40

3 years ago

0.10.41

3 years ago

0.10.42

3 years ago

0.10.37

3 years ago

0.10.38

3 years ago

0.10.39

3 years ago

0.10.43

3 years ago

0.10.44

3 years ago

0.10.36

3 years ago

0.10.35

3 years ago