Sha256: 1ce4376258f1845fcd0d42bb46872ebe1c974b399d1c8da9c98b6af2876e1b3b

Contents?: true

Size: 542 Bytes

Versions: 74

Compression:

Stored size: 542 Bytes

Contents

import React from 'react'
import { DatePicker } from '../../'

const DatePickerMinMax = () => (
  <div>
    <DatePicker
        label="Dynamic dates using flatpickr increment function"
        maxDate={new Date().fp_incr(3)}
        minDate={new Date().fp_incr(-3)}
        pickerId="date-picker-min-max1"
    />
    <DatePicker
        format="m/d/Y"
        label="Absolute formatted dates"
        maxDate="10/20/2020"
        minDate="10/10/2020"
        pickerId="date-picker-min-max2"
    />
  </div>
)

export default DatePickerMinMax

Version data entries

74 entries across 74 versions & 1 rubygems

Version Path
playbook_ui-7.11.1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.11.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.11.0.pre.alpha1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.10.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.9.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.8.4 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.8.3 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.8.2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.8.1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.8.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.7.0.pre.alpha1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.7.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.6.2.pre.alpha1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.6.2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.6.1.pre.alpha1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.6.1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.6.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.5.1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.5.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.4.2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx