1.0.16 • Published 2 years ago

@wineryswap/uikit v1.0.16

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

WinerySwap UIkit

WinerySwap UIkit is a set of React components and hooks used to build pages on WinerySwap's apps.

Install

yarn add @wineryswap/uikit

Setup

Theme

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

import { ThemeProvider } from 'styled-components'
...
<ThemeProvider>...</ThemeProvider>

Reset

A reset CSS is available as a global styled component.

import { ResetCSS } from '@wineryswap/uikit'
...
<ResetCSS />

Types

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