app-arena / patterns
基于 patternlab.io 的 App-Arena 风格指南和模式库
1.2.8
2017-10-18 17:17 UTC
Requires
- php: >=5.4
Requires (Dev)
- 1.2.8
- 1.2.6
- 1.2.3
- 1.2.2
- 1.2.1
- 1.1.60
- 1.1.59
- 1.1.57
- 1.1.56
- 1.1.55
- 1.1.54
- 1.1.52
- 1.1.51
- 1.1.50
- 1.1.49
- 1.1.48
- 1.1.47
- 1.1.46
- 1.1.45
- 1.1.44
- 1.1.43
- 1.1.42
- 1.1.41
- 1.1.40
- 1.1.39
- 1.1.38
- 1.1.37
- 1.1.36
- 1.1.35
- 1.1.34
- 1.1.33
- 1.1.32
- 1.1.31
- 1.1.30
- 1.1.29
- 1.1.28
- 1.1.27
- 1.1.26
- 1.1.25
- 1.1.24
- 1.1.23
- 1.1.22
- 1.1.21
- 1.1.20
- 1.1.19
- 1.1.18
- 1.1.17
- 1.1.16
- 1.1.15
- 1.1.14
- 1.1.13
- 1.1.12
- 1.1.11
- 1.1.10
- 1.0.28
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-documentation
- dev-aa-website
This package is auto-updated.
Last update: 2024-09-06 09:54:53 UTC
README
App-Arena Patterns 是一组实现 App-Arena CI 的 React 组件。
入门
App-Arena Patterns 可作为 npm 包 获取。
yarn add apparena-patterns-react
或
npm install apparena-patterns-react
将所有组件添加到您的应用中。
使用方法
以下是一个快速入门示例
./App.js
import React from 'react'; import ReactDOM from 'react-dom'; import MyAwesomeReactComponent from './MyAwesomeReactComponent'; const App = () => ( <MyAwesomeReactComponent /> ); ReactDOM.render( <App />, document.getElementById('app') );
./MyAwesomeReactComponent.js
import React from 'react'; import {Button} from 'apparena-patterns-react'; const MyAwesomeReactComponent = () => ( <Button type="primary">Label</Button> ); export default MyAwesomeReactComponent;
请参考每个 组件的文档页面 了解如何导入。
贡献
如果您想为此库贡献模式或添加模式,请访问我们的 贡献部分。
许可证
本项目根据 MIT 许可证 的条款进行许可。