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.3.0.alpha.inline2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.3.0.alpha.inline1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.3.0.pre.alpha.password.strength.1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.3.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.2.2.pre.alpha.margin app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.2.2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.2.1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.2.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.1.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-9.0.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-8.3.0.alpha.select.pre.margin app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-8.3.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-8.2.1.pre.alpha5 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-8.2.1.pre.alpha4 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-8.2.1.alpha.iconacc app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-8.2.1.pre.alpha3 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-8.2.1.pre.alpha2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-8.3.0.deps2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-8.3.0.pre.alpha1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
playbook_ui-8.2.1.pre.alpha1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx