1.0.8-alpha.1 • Published 4 years ago
saru-ui v1.0.8-alpha.1
SARU-UI
It's a simple and faster React UI
Installation
saru-ui is available as an npm package.
To install it, run:
//with npm
npm install saru-ui
//with yarn
yarn add saru-uiUsage
Here is a quick example to get you started, it's all you need:
import React from 'react';
import { Button, GlobalStyles } from 'saru-ui/lib';
function App() {
return (
<>
<GlobalStyles />
<Button>
OK
</Button>
</>
);
}
export default App;What is inside?
Available commands
build: build the files in thelibdirectorystorybook: run the storybook at the addresslocalhost:6006deploy-storybook: deploy the storybook to the branchgh-pagesprettier:check: check formatting on allsrcdirectoryprettier:format: formats allsrcdirectory
Project structure
/.storybook
/lib
/src
├── index.ts
├── packages
| ├── index.ts
| ├── button
| | └── ...
├── global
| ├── index.ts
| ├── styles.ts
/stories
├── packages
| ├── button
| | └── stories.tsx
├── utilsLicense
This project is licensed under the MIT License.