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

20 lines
217 B
Markdown

# 基本
- order: 0
最简单的用法。
---
````jsx
import { TimePicker } from 'antd';
function onChange(time) {
console.log(time);
}
ReactDOM.render(
<TimePicker onChange={onChange} />
, mountNode);
````