react-component/checkbox
Fork: 102 Star: 130 (更新于 1970-01-01 00:00:00)
license: MIT
Language: TypeScript .
React Checkbox
最后发布版本: v3.1.0 ( 2023-06-14 23:56:18)
rc-checkbox
Checkbox ui component for react.
Install
Usage
import checkbox from 'rc-checkbox';
export default () => <checkbox />;
Compatibility
IE / Edge |
Firefox |
Chrome |
Safari |
Electron |
---|---|---|---|---|
IE11, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
API
name | type | default | description |
---|---|---|---|
prefixCls | String | rc-checkbox | |
className | String | '' | additional class name of root node |
name | String | same with native input checkbox | |
checked | enum: 0,1,2 | ||
defaultChecked | enum: 0,1,2 | 0 | same with native input checkbox |
onChange | Function(e:Event, checked:Number) | called when checkbox is changed. e is native event, checked is original checked state. |
Development
npm install
npm start
Online demo: http://react-component.github.io/checkbox/
License
rc-checkbox is released under the MIT license.
最近版本更新:(数据更新于 1970-01-01 00:00:00)
2023-06-14 23:56:18 v3.1.0
2023-05-10 11:35:12 v3.0.1
2023-03-07 20:31:47 v3.0.0
2020-12-08 13:19:22 v2.3.2
2020-07-15 10:49:57 v2.3.1
2020-07-09 11:28:18 v2.3.0
react-component/checkbox同语言 TypeScript最近更新仓库
2024-11-22 01:36:46 twentyhq/twenty
2024-11-21 22:40:05 LLOneBot/LLOneBot
2024-11-21 20:34:48 CopilotKit/CopilotKit
2024-11-21 16:58:07 labring/FastGPT
2024-11-21 16:14:54 RSSNext/Follow
2024-11-21 16:12:23 x-extends/vxe-table