Небольшое приложение, где я реализовал заготовку под UI-Kit Library для React apps.
- typescript;
- webpack;
- storybook;
- npm;
Необходимо установить модуль:
npm i rubyhat-ui-kit
Импортировать компоненты, например:
import { Button, Input } from "rubyhat-ui-kit";
Внедрить в рендер jsx:
<Button variant="primary" color="black" isBig>
Hello world
</Button>
Есть возможность протестировать компоненты в StoryBook
- git clone
- npm install
- npm run storybook