ant-design/components/time-picker/demo/basic.md

313 B

order title
0
zh-CN en-US
基本 Basic

zh-CN

最简单的用法。

en-US

The most basic usage.

import { TimePicker } from 'antd';

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

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