We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac8d08e commit 27fb270Copy full SHA for 27fb270
src/DateTimeField.js
@@ -30,7 +30,10 @@ export default class DateTimeField extends Component {
30
}
31
32
static propTypes = {
33
- dateTime: PropTypes.string,
+ dateTime: PropTypes.oneOfType([
34
+ PropTypes.string,
35
+ PropTypes.number
36
+ ]),
37
onChange: PropTypes.func,
38
format: PropTypes.string,
39
inputProps: PropTypes.object,
0 commit comments