Skip to content

Commit

Permalink
doc(DateInput): Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jul 12, 2022
1 parent 869f6f2 commit 8d792d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-date-input/README.md
Expand Up @@ -24,7 +24,7 @@ import { DateInput, DateInputRange, Row, Col } from 'uiw';

function Demo () {

const [dataRange,dataRangeSet] =React.useState(['2022-02-25 15:06:24','2022-02-27 14:47:32'])
const [dataRange,dataRangeSet] =React.useState(['2022/02/25 15:06:24','2022/02/27 14:47:32'])

function onChange(selectedDate,dataRange) {
console.log('selectedDate',selectedDate,dataRange)
Expand Down

1 comment on commit 8d792d3

@jaywcjlove
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.