Sha256: b36284971142971807941b7d84280ca0f6341d27740b7b2bb5edff5a7a7f03fe

Contents?: true

Size: 1.64 KB

Versions: 1819

Compression:

Stored size: 1.64 KB

Contents

import React from 'react'

import Flex from '../../pb_flex/_flex'
import FlexItem from '../../pb_flex/_flex_item'
import DatePicker from '../_date_picker'

const DatePickerPositions = (props) => (
  <React.Fragment>
    <Flex>
      <FlexItem fixedSize="50%">
        <DatePicker
            label="Datepicker (opens on the right)"
            pickerId="date-picker-positions1"
            position="auto right"
            scrollContainer=".pb--page--content--main"
            staticPosition={false}
            {...props}
        />
      </FlexItem>
    </Flex>
    <Flex>
      <FlexItem fixedSize="50%">
        <DatePicker
            label="Datepicker (opens on the left)"
            pickerId="date-picker-positions2"
            position="auto left"
            scrollContainer=".pb--page--content--main"
            staticPosition={false}
            {...props}
        />
      </FlexItem>
    </Flex>
    <Flex>
      <FlexItem fixedSize="50%">
        <DatePicker
            label="Datepicker (opens above on the left)"
            pickerId="date-picker-positions3"
            position="above left"
            scrollContainer=".pb--page--content--main"
            staticPosition={false}
            {...props}
        />
      </FlexItem>
    </Flex>
    <Flex>
      <FlexItem fixedSize="50%">
        <DatePicker
            label="Datepicker (opens below on the right)"
            pickerId="date-picker-positions4"
            position="below right"
            scrollContainer=".pb--page--content--main"
            staticPosition={false}
            {...props}
        />
      </FlexItem>
    </Flex>
  </React.Fragment>
)

export default DatePickerPositions

Version data entries

1,819 entries across 1,819 versions & 2 rubygems

Version Path
playbook_ui_docs-14.11.1.pre.alpha.play1724darkmodeauditmap5437 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.jsx
playbook_ui-14.11.1.pre.alpha.play1724darkmodeauditmap5437 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR719listdraggablesimple5432 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR719listdraggablesimple5432 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR768stickyrightcolumn5431 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR768stickyrightcolumn5431 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.jsx
playbook_ui_docs-14.12.0.pre.rc.6 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.jsx
playbook_ui-14.12.0.pre.rc.6 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5415 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5415 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.jsx
playbook_ui_docs-14.11.1.pre.alpha.play1724darkmodeauditmap5413 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.jsx
playbook_ui-14.11.1.pre.alpha.play1724darkmodeauditmap5413 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.jsx
playbook_ui_docs-14.12.0.pre.rc.5 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.jsx
playbook_ui-14.12.0.pre.rc.5 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.jsx
playbook_ui_docs-14.11.1.pre.alpha.play1724darkmodeauditmap5409 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.jsx
playbook_ui-14.11.1.pre.alpha.play1724darkmodeauditmap5409 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5400 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5400 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5392 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5392 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.jsx