Sha256: 4b03cd00e3e4abd3577f9845deca10aec7aca2b91b2d700d562efce910d5319e

Contents?: true

Size: 627 Bytes

Versions: 1821

Compression:

Stored size: 627 Bytes

Contents

import React from 'react'
import DateTime from '../_date_time'

const DateTimeDefault = (props) => (
  <div>
    <DateTime
        datetime={new Date('2020-12-31 14:24:09')}
        showDayOfWeek
        showIcon
        {...props}
    />

    <br />

    <DateTime
        datetime={new Date()}
        showDayOfWeek
        {...props}
    />

    <br />

    <DateTime
        datetime={new Date()}
        showIcon
        {...props}
    />

    <br />

    <DateTime
        datetime={new Date('2020/12/31 14:24:09 -0500')}
        timeZone="Asia/Tokyo"
        {...props}
    />
  </div>
)

export default DateTimeDefault

Version data entries

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

Version Path
playbook_ui-11.4.0.pre.alpha.rubytheme1 app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx