mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 21:59:41 +08:00
87afda5623
With this change, we can define change handler more convenience: Before: ```javascript const handleChange = (checked: boolean, event: MouseEvent) => { ... } ``` After: ```javascript const handleChange: SwitchChangeEventHandler = (checked, event) => { ... } ``` |
||
---|---|---|
.. | ||
__tests__ | ||
demo | ||
style | ||
index.en-US.md | ||
index.tsx | ||
index.zh-CN.md |