Sha256: 844594deffd3dc2ace367c652b3d11f8152fd0e41ba335910f026bd5c8bf13da

Contents?: true

Size: 808 Bytes

Versions: 94

Compression:

Stored size: 808 Bytes

Contents

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

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

export default DatePickerDefaultDate

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
playbook_ui-9.19.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.19.0.pre.alphafonts app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.18.0.flow.bin.alpha app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.18.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.17.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.17.0.pre.decouple.website2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.16.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.15.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.15.0.pre.decouple.website1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.14.1.alpha.radio.alignment app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.14.1.alpha.highcharts9 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.14.1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.13.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.12.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.12.0.pre.text.addon app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.11.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.10.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.10.0.pre.date.time.stacked.1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.10.0.pre.alpha2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.10.0.pre.alpha1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx