mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-26 20:20:00 +08:00
217 B
217 B
基本
- order: 0
最简单的用法。
import { TimePicker } from 'antd';
function onChange(time) {
console.log(time);
}
ReactDOM.render(
<TimePicker onChange={onChange} />
, mountNode);