You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

341 B

order title
0 [{zh-CN 基本用法} {en-US Basic}]

zh-CN

简单的 checkbox。

en-US

Basic usage of checkbox.

import { Checkbox } from 'antd';

function onChange(e) {
  console.log(`checked = ${e.target.checked}`);
}

ReactDOM.render(
  <Checkbox onChange={onChange}>Checkbox</Checkbox>,
  mountNode
);