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.3.0.pre.alpha3 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.3.0.pre.alpha2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.3.0.pre.alpha1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.2.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.1.2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.1.0.pre.alpha2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.1.1.pre.alpha1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.0.1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.1.1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.1.0.pre.alpha1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.1.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.0.1.pre.alpha15 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-6.8.2.pre.alpha1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.0.0.pre.alpha15 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.0.1.pre.alpha14 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.0.0.pre.alpha14 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.0.0.pre.alpha13 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.0.0.pre.alpha12 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.0.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
playbook_ui-7.0.0.pre.alpha11 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx