Sha256: e178ddbb9be92b3672644884342311aa2e883967684265273b28570ffb1f310c

Contents?: true

Size: 755 Bytes

Versions: 10

Compression:

Stored size: 755 Bytes

Contents

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

const DatePickerDefaultDate = () => (
  <div>
    <DatePicker
        defaultDate="07/31/2020"
        label="Default Date String"
        pickerId="date-picker-default-date1"
    />
    <DatePicker
        defaultDate={new Date().fp_incr(1)}
        label="Default Date Dynamic"
        pickerId="date-picker-default-date2"
    />
    <DatePicker
        defaultDate={[new Date().fp_incr(1), new Date().fp_incr(3)]}
        label="Default Date Range"
        mode="range"
        pickerId="date-picker-default-date3"
    />
    <DatePicker
        defaultDate="blank"
        label="Blank"
        pickerId="date-picker-default-date4"
    />
  </div>
)

export default DatePickerDefaultDate

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
playbook_ui-6.1.0.pre.alpha5 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-6.1.0.pre.alpha4 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-6.1.0.pre.alpha2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-6.1.0.pre.alpha1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-6.0.1.pre.alpha4 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-6.0.1.pre.alpha3 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-6.0.1.pre.alpha2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-5.5.1.pre.alpha3 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-5.5.1.pre.alpha2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-5.5.1.pre.alpha1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx