Sha256: 6e1c4538b843e950ee600c48572ecc8dd102e1b98140ac8fb3e1732992ce0098

Contents?: true

Size: 537 Bytes

Versions: 5

Compression:

Stored size: 537 Bytes

Contents

import React from 'react'
import DateStacked from '../_date_stacked.jsx'

const DateStackedDark = (props) => {
  return (
    <div>
      <DateStacked
          dark
          date={new Date().toLocaleString('en-US', { timeZone: 'Pacific/Tongatapu' })}
          size="sm"
          {...props}
      />

      <br />

      <DateStacked
          dark
          date={new Date().toLocaleString('en-US', { timeZone: 'America/New_York' })}
          size="md"
          {...props}
      />
    </div>
  )
}

export default DateStackedDark

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
playbook_ui-7.14.0 app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_dark.jsx
playbook_ui-7.13.0.pre.alpha1 app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_dark.jsx
playbook_ui-7.13.0 app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_dark.jsx
playbook_ui-7.12.1 app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_dark.jsx
playbook_ui-7.12.0 app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_dark.jsx