Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 895 Bytes

README.md

File metadata and controls

58 lines (40 loc) · 895 Bytes

Ninja UI Design System

See the storybook

Storybook

Development

git clone git@github.com:francescjimenez/ninja-ui.git
cd ninja-ui
npm install
npm start

Build

npm run build

NPM Publish

How to run in docker

docker build .

Will output image id, for example: 4633a0f907f6 Choose your favourite port, for example: 8081

docker run -p 8081:80 4633a0f907f6

browse localhost:8081


Usage (It isn't published yet)

npm install --save ninja-ui
import { ThemeProvider, ThemeBase, Button } from "ninja-ui";

export default () => (
  <ThemeProvider theme={ThemeBase}>
    <Button variant="green" onClick={() => {}}>
      Hello Button
    </Button>
  </ThemeProvider>
);