customize-easy-ui-storybook
v4.5.7
Published
前端的通用组件库-说明书,兼做UI测试调试工具
Downloads
3
Readme
Features
- 专门做测试的,配合上级工程目录的UI 组件库。调试请用storybook debug, 然后浏览器http://localhost:6006/ 看报错。
- This package is modified based on the previous Sancho migration;该包是基于前人的sancho移植来修改的。
- Beautiful, generic components that you can make your own.
- Highly responsive. Sancho takes mobile seriously, with built in support for gestures.
- Accessible.
- A fully customizable theme, which includes a dark and light mode.
- Fully typed for use with Typescript.
- Support for tree shaking. Bundle only those components that you need.
- An ever-growing list of components.
View the documentation for full details.
Getting started
Install Sancho and Emotion using yarn or npm:
yarn add customize-easy-ui-component
And import your desired components into your React project.
import { Button } from "customize-easy-ui-component";
function MyApp() {
return <Button>Hello world</Button>;
}
Sample projects
Julienne
Julienne is a small application built with Sancho and Firebase which helps you share recipes with family and friends. View the source here.
Captioner
Captioner is an in-browser tool for generating captions for your videos. It's also built with Sancho and Firebase. View the source here.
Development
git clone https://github.com/heerzhang/customize-easy-ui-component.git
cd customize-easy-ui-component
yarn
yarn run storybook
License
MIT