mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-30 06:09:34 +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 |