ant-design/components/time-picker/demo/basic.md
2016-01-26 15:04:57 +08:00

217 B

基本

  • order: 0

最简单的用法。


import { TimePicker } from 'antd';

function onChange(time) {
  console.log(time);
}

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