We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Datepicker
latest
import React from 'react'; import { DatePicker } from '@douyinfe/semi-ui'; () => { const disabledDate = (date) => { const deadDate = new Date('2025/3/1 00:00:00'); const startDate = new Date('2024/11/1 00:00:00'); return date.getTime() < startDate.getTime() || date.getTime() > deadDate.getTime(); } return <DatePicker type="monthRange" style={{ width: 200 }} disabledDate={disabledDate}/> };
or for quick preview visit https://codesandbox.io/p/sandbox/red-lake-xl34lg?file=%2Fsrc%2FApp.jsx%3A17%2C44
- OS: - browser:
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Is there an existing issue for this?
Which Component
Datepicker
Semi Version
latest
Current Behavior
Expected Behavior
Steps To Reproduce
ReproducibleCode
or for quick preview visit https://codesandbox.io/p/sandbox/red-lake-xl34lg?file=%2Fsrc%2FApp.jsx%3A17%2C44
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: