UNPKG

@alicd/crui-time-picker-field

Version:

时间选择器

16 lines (13 loc) 515 B
import React from 'react'; import {TimePicker} from '@alicd/next'; import FormItem from '@alicd/crui-form-item'; class TimePickerField extends React.Component { render() { /* eslint-disable */ const {bind, style, inputStyle, init, ...other} = this.props; const {labelCol, wrapperCol, mapping, className, ...otherInput} = other; /* eslint-enable */ return (<FormItem {...other} style={style}><TimePicker {...otherInput} style={inputStyle}/></FormItem>); } } export default TimePickerField;