0.2.0 • Published 7 years ago
pl-checkbox v0.2.0
pl-checkbox
React Checkbox
该仓库基于 https://github.com/react-component/checkbox 进行修改,仅用于个人学习。
install
Usage
import React from 'react'
import Checkbox from 'pl-checkbox';
export default class Index extends React.Component{
constructor(props){
super(props);
}
render(){
return (
<div >
这是一个chechbox : <Checkbox />
</div>
);
}
}
API
props
Development
npm install
npm start
Example
http://localhost:8001/examples/
online example: http://react-component.github.io/checkbox/examples/
Test Case
npm test
npm run chrome-test
Coverage
npm run coverage
open coverage/ dir
License
rc-checkbox is released under the MIT license.