@ -9,6 +9,7 @@ interface PropsType {
placeholder: string;
value?: Date;
dateOnly?: boolean;
disabled?: boolean;
onChange: (date?: Date) => void;
}
@ -22,6 +23,7 @@ class DateTimePicker extends React.PureComponent<PropsType> {
const inputProps = {
placeholder: this.props.placeholder,
readOnly: true,
disabled: this.props.disabled,
};
return (
<Datetime