Sha256: 89430a51619894305191fadb043e7f43abfd901d43293cdb5f4b31af7d7ec752

Contents?: true

Size: 1.54 KB

Versions: 1546

Compression:

Stored size: 1.54 KB

Contents

import React from 'react'
import DateRangeInline from '../_date_range_inline'

const DateRangeInlineDefault = (props) => {
  return (
    <div>
      <DateRangeInline
          endDate={new Date('20 Mar 2015')}
          size="xs"
          startDate={new Date('18 Jun 2013')}
          {...props}
      />
      <DateRangeInline
          endDate={new Date('20 Mar 2015')}
          size="sm"
          startDate={new Date('18 Jun 2013')}
          {...props}
      />
      <br />
      <br />
      <DateRangeInline
          align="center"
          endDate={new Date(`15 Aug ${new Date().getFullYear()}`)}
          icon
          size="xs"
          startDate={new Date(`15 Jan ${new Date().getFullYear()}`)}
          {...props}
      />
      <DateRangeInline
          align="center"
          endDate={new Date(`15 Aug ${new Date().getFullYear()}`)}
          icon
          size="sm"
          startDate={new Date(`15 Jan ${new Date().getFullYear()}`)}
          {...props}
      />
      <br />
      <br />
      <DateRangeInline
          align="right"
          endDate={new Date(`15 Aug ${new Date().getFullYear()}`)}
          icon
          size="xs"
          startDate={new Date(`15 Jan ${new Date().getFullYear()}`)}
          {...props}
      />
      <DateRangeInline
          align="right"
          endDate={new Date(`15 Aug ${new Date().getFullYear()}`)}
          icon
          size="sm"
          startDate={new Date(`15 Jan ${new Date().getFullYear()}`)}
          {...props}
      />
    </div>
  )
}

export default DateRangeInlineDefault

Version data entries

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

Version Path
playbook_ui_docs-14.8.0.pre.alpha.PLAY1658tanstackbump4657 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-14.8.0.pre.alpha.PLAY1658tanstackbump4657 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui_docs-14.8.0.pre.alpha.PLAY1649rolloutheightglobalprops4635 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-14.8.0.pre.alpha.PLAY1649rolloutheightglobalprops4635 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui_docs-14.9.0.pre.rc.8 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-14.9.0.pre.rc.8 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui_docs-14.8.0.pre.alpha.PLAY1598floatinguiupgrade4617 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-14.8.0.pre.alpha.PLAY1598floatinguiupgrade4617 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui_docs-14.9.0.pre.rc.7 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-14.9.0.pre.rc.7 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui_docs-14.9.0.pre.rc.6 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-14.9.0.pre.rc.6 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui_docs-14.9.0.pre.rc.5 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-14.9.0.pre.rc.5 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui_docs-14.8.0.pre.alpha.pbntr661createstickyleftprop4612 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-14.8.0.pre.alpha.pbntr661createstickyleftprop4612 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui_docs-14.8.0.pre.alpha.play1648heightglobalprops4606 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-14.8.0.pre.alpha.play1648heightglobalprops4606 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui_docs-14.9.0.pre.rc.4 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-14.9.0.pre.rc.4 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx