@theemeraldtree/emeraldui
v0.1.6
Published
emeraldui is a simple, clean, and easy-to-use React UI Library. It's going to be the UI library that powers [Minecraft Manager](https://github.com/theemeraldtree/minecraft-manager) and any other future projects from theemeraldtree.
Readme
emeraldui
A simple React UI Library
emeraldui is a simple, clean, and easy-to-use React UI Library. It's going to be the UI library that powers Minecraft Manager and any other future projects from theemeraldtree.
Setting up emeraldui
Installing:
yarn add @theemeraldtree/emeralduiDon't forget its required peer dependencies:
yarn add styled-components react-transition-group styled-transition-groupUsing emeraldui:
emeraldui relies on styled-components' theme system. It is recommended to wrap your root component with a styled-components ThemeProvider
import { DarkTheme } from '@theemeraldtree/emeraldui';
<ThemeProvider theme={DarkTheme}>
{/* the rest of your app goes here... */}
</ThemeProvider>;Building emeraldui
Run the Storybook component documentation:
git clone https://github.com/theemeraldtree/emeraldui
yarn
yarn storybookBuilding emeraldui:
yarn build