Sha256: 3e73843108bc8b6fad4a68203e985c37a836f31088d733b782ada1f01cfef9bc
Contents?: true
Size: 856 Bytes
Versions: 1272
Compression:
Stored size: 856 Bytes
Contents
import React from "react" import DatePicker from "../_date_picker" const DatePickerQuickPickCustom = (props) => ( <> <DatePicker allowInput customQuickPickDates={{ dates: [ // Allow Playbook to handle the logic... { label: "Last 15 months", value: { timePeriod: "months", amount: 15, }, }, // Or, be explicit with an exact date range for more control... { label: "First Week of June 2022", value: ["06/01/2022", "06/07/2022"], }, ], }} mode='range' pickerId='date-picker-quick-pick-custom-override' placeholder='mm/dd/yyyy to mm/dd/yyyy' selectionType='quickpick' {...props} /> </> ) export default DatePickerQuickPickCustom
Version data entries
1,272 entries across 1,272 versions & 2 rubygems