MyGit

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)

官方网址 GitHub网址

rc-checkbox


Checkbox ui component for react.

NPM version npm download build status Codecov bundle size dumi

Install

rc-checkbox

Usage

import checkbox from 'rc-checkbox';

export default () => <checkbox />;

Compatibility

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Electron
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-12-21 21:40:12 lobehub/lobe-chat

2024-12-21 12:01:51 siyuan-note/siyuan

2024-12-21 10:57:01 ai16z/eliza

2024-12-21 09:15:35 MetaCubeX/metacubexd

2024-12-21 04:50:26 mediar-ai/screenpipe

2024-12-20 19:36:48 vitejs/vite