Sha256: 0420f3f5e49626b086d5e2486445ebb71086e3ba7b7d243891898db10b1a5f53
Contents?: true
Size: 1.18 KB
Versions: 74
Compression:
Stored size: 1.18 KB
Contents
import React from 'react' import { DatePicker } from '../../' const DatePickerDisabled = () => ( <div> <DatePicker disableDate={[new Date().fp_incr(1)]} label="Disable Single Date" pickerId="single-disabled-date" /> <DatePicker disableDate={[new Date().fp_incr(1), new Date().fp_incr(3)]} label="Disable Multiple Dates" pickerId="multiple-disabled-dates" /> <DatePicker disableRange={[ { from: new Date().fp_incr(1), to: new Date().fp_incr(7), }, ]} label="Disable Single Range" pickerId="single-date-range" /> <DatePicker disableRange={[ { from: new Date().fp_incr(1), to: new Date().fp_incr(3), }, { from: new Date().fp_incr(7), to: new Date().fp_incr(14), }, ]} label="Disable Multiple Ranges" pickerId="multiple-date-ranges" /> <DatePicker disableWeekdays={['Sunday', 'Saturday']} label="Disable Specific Weekdays" pickerId="disabled-weekdays" /> </div> ) export default DatePickerDisabled
Version data entries
74 entries across 74 versions & 1 rubygems