Sha256: c3198a73bf6bf443706575fff7d32041e451cec2254f86c1d4900bfa1d026a71

Contents?: true

Size: 1.24 KB

Versions: 237

Compression:

Stored size: 1.24 KB

Contents

import React from 'react'
import Time from '../_time.jsx'

const TimeDefault = (props) => {
  return (
    <div>
      <Time
          date={new Date().getTime()}
          showTimezone={false}
          {...props}
      />
      <br />
      <Time
          date={new Date()}
          timeZone="America/New_York"
          {...props}
      />
      <br />
      <Time
          date={new Date().getTime()}
          showIcon
          showTimezone={false}
          {...props}
      />
      <br />
      <Time
          date={new Date()}
          showIcon
          timeZone="America/New_York"
          {...props}
      />
      <br />
      <br />
      <Time
          date={new Date()}
          showTimezone={false}
          size="md"
          {...props}
      />
      <br />
      <Time
          date={new Date()}
          size="md"
          timeZone="America/New_York"
          {...props}
      />
      <br />
      <Time
          date={new Date()}
          showIcon
          showTimezone={false}
          size="md"
          {...props}
      />
      <br />
      <Time
          date={new Date()}
          showIcon
          size="md"
          timeZone="America/New_York"
          {...props}
      />
    </div>
  )
}

export default TimeDefault

Version data entries

237 entries across 237 versions & 1 rubygems

Version Path
playbook_ui-10.23.0.pre.alpha1 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-10.22.1 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-10.22.0 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-10.21.1.pre.alpha1 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-10.21.0.pre.alpha.lightbox.2 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-10.21.0 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-10.21.0.pre.alpha.lightbox app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-10.21.0.pre.alpha.rg1 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-10.21.0.pre.alpha.jg1 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-10.21.0.pre.alpha.na1 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-10.21.0.pre.alpha.jd1 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-10.20.0 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-10.19.0 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-10.19.0.pre.lightbox app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-10.18.2 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-10.19.0.pre.popover.alpha1 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-10.18.1 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-10.18.0 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-10.17.0 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-10.16.0 app/pb_kits/playbook/pb_time/docs/_time_default.jsx