Sha256: 89430a51619894305191fadb043e7f43abfd901d43293cdb5f4b31af7d7ec752

Contents?: true

Size: 1.54 KB

Versions: 1819

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,819 entries across 1,819 versions & 2 rubygems

Version Path
playbook_ui-11.16.0.pre.alpha.paginationrails1 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-11.16.0 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-11.16.0.pre.alpha.reactupgrade1 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-11.15.0.pre.alpha.table1 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-11.16.0.pre.alpha.pagination.rails1 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-11.15.0 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-11.14.0 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-11.13.0.pre.alpha.fontawesome1 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-11.13.0 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-11.12.1.pre.alpha.charts1 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-11.12.1.pre.alpha.passphrase1 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-11.12.1 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-11.13.0.pre.alpha.fileupload1 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-11.12.0 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-11.11.0.pre.alpha.paginate2 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-11.11.0.pre.alpha.dialog2 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-11.11.0.pre.alpha.paginate1 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-11.11.0.pre.alpha.renderer1 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-11.11.0.pre.alpha.dialog1 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
playbook_ui-11.11.0 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx