Sha256: f14068802aa1cd819bb63caf720174b86bad1363479bfe6699fecb54f21f8ec4
Contents?: true
Size: 935 Bytes
Versions: 700
Compression:
Stored size: 935 Bytes
Contents
import React from 'react' import { Caption, Date as FormattedDate, Title } from 'playbook-ui' const DateUnstyled = (props) => { return ( <> <Caption size="xs" text="Basic unstyled example" /> <FormattedDate unstyled value={new Date()} {...props} /> <br /> <Caption size="xs" text="Example with wrapping typography kit" /> <Title size={1}> <FormattedDate unstyled value={new Date('25 Dec 1995')} {...props} /> </Title> <br /> <Caption size="xs" text="Example with icon + subcaption" /> <Caption size="xs"> <FormattedDate showDayOfWeek showIcon unstyled value={new Date('25 Dec 1995')} {...props} /> </Caption> </> ) } export default DateUnstyled
Version data entries
700 entries across 700 versions & 2 rubygems