chowa
Version:
UI component library based on React
78 lines (56 loc) • 1.77 kB
Markdown
<p align="center">
<img width="200" src="http://upload.ouliu.net/i/20200108181725zq75v.png" width="240">
</p>
# Chowa
UI component library based on React
[](https://travis-ci.org/chowa/chowa)
[](https://www.npmjs.com/package/chowa)
[](https://www.npmjs.com/package/chowa)
[](https://npmjs.org/package/chowa)
[](https://opensource.org/licenses/MIT)
[](https://gitter.im/chowa-fe/community)
## Documents
[Click to read the document](https://chowa.github.io/chowa/)
## Features
* Ecologically complete peripheral tools
* Uniform visual interaction and rich types of components
* Typescript development, providing complete type definition files
* Theme customization, [Vector font icon extension](https://github.com/chowa/cwfont), Multilingual
## Install
```
npm i chowa --save
```
```
yarn add chowa
```
## Usage
```jsx
import { Container, Alert } from 'chowa';
export default App = () => {
return (
<Container>
<Alert
showIcon
title='This is an info message'
content="This is content message"/>
</Container>
);
}
```
### Import style
```js
// css
import 'chowa/dist/chowa.css';
// sass
import 'chowa/es/styles'
```
## Local development
```
git clone https://github.com/chowa/chowa.git
cd chowa
npm install
npm run dev
```
## License
[MIT](http://opensource.org/licenses/MIT)
Copyright (c) 2019-present, Chowa