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-11.3.0.pre.alpha2 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-11.3.0.pre.alpha1 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-11.3.0 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-11.2.7 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-11.2.6 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-11.2.5 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-11.2.4 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-11.2.4.pre.alpha1 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-11.2.3 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-11.2.2 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-11.2.1 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-11.2.0 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-11.1.2 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-11.1.2.pre.alpha1 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-11.1.1 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-11.1.1.pre.alpha1 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-11.1.0 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-11.0.1 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-11.0.0 app/pb_kits/playbook/pb_time/docs/_time_default.jsx
playbook_ui-11.0.0.pre.alpha.2 app/pb_kits/playbook/pb_time/docs/_time_default.jsx