Sha256: 49d1cc6e7f7070778c838187ea6f712c5ca3757883591bc1db611efc29914722
Contents?: true
Size: 1.28 KB
Versions: 1646
Compression:
Stored size: 1.28 KB
Contents
import React from 'react' import DatePicker from '../_date_picker' const DatePickerDisabled = (props) => ( <div> <DatePicker disableDate={[new Date().fp_incr(1)]} label="Disable Single Date" pickerId="single-disabled-date" {...props} /> <DatePicker disableDate={[new Date().fp_incr(1), new Date().fp_incr(3)]} label="Disable Multiple Dates" pickerId="multiple-disabled-dates" {...props} /> <DatePicker disableRange={[ { from: new Date().fp_incr(1), to: new Date().fp_incr(7), }, ]} label="Disable Single Range" pickerId="single-date-range" {...props} /> <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" {...props} /> <DatePicker disableWeekdays={['Sunday', 'Saturday']} label="Disable Specific Weekdays" pickerId="disabled-weekdays" {...props} /> </div> ) export default DatePickerDisabled
Version data entries
1,646 entries across 1,646 versions & 2 rubygems