Skip to content

Commit

Permalink
docs: revert demo (#6662)
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ authored Jul 3, 2024
1 parent ca4c120 commit 0313082
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/calendar-picker/demos/demo1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ export default () => {
const [visible2, setVisible2] = useState(false)
const [visible3, setVisible3] = useState(false)

// const singleDate: Date = new Date('2023-06-03')
const singleDate: Date = new Date('2024-09-01')
const singleDate: Date = new Date('2023-06-03')

return (
<List header='日期选择'>
Expand All @@ -33,8 +32,6 @@ export default () => {
defaultValue={singleDate}
onClose={() => setVisible1(false)}
onMaskClick={() => setVisible1(false)}
min={new Date('2024-09-01')}
max={new Date('2024-09-30')}
/>
</List.Item>
<List.Item
Expand Down

1 comment on commit 0313082

@github-actions
Copy link
Contributor

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.