Sha256: a2749a5c31b96d3b7286948d058295258e984d79158423c7962e6480b12c776b

Contents?: true

Size: 620 Bytes

Versions: 54

Compression:

Stored size: 620 Bytes

Contents

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

const DatePickerFormat = () => (
  <div>
    <DatePicker
        defaultDate={new Date()}
        format="m-d-Y"
        pickerId="date-picker-format1"
    />
    <DatePicker
        defaultDate={new Date()}
        format="m/d/y"
        pickerId="date-picker-format2"
    />
    <DatePicker
        defaultDate={new Date()}
        format="n-j-y"
        pickerId="date-picker-format3"
    />
    <DatePicker
        defaultDate={new Date()}
        format="Y-d-m"
        pickerId="date-picker-format4"
    />
  </div>
)

export default DatePickerFormat

Version data entries

54 entries across 54 versions & 1 rubygems

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