Sha256: a74a75f44a85910fc1348c3df4144771170c9f5c0a8f642ed8bba80c7d979f79
Contents?: true
Size: 1.12 KB
Versions: 1645
Compression:
Stored size: 1.12 KB
Contents
import React from 'react' import Time from '../_time' import Caption from '../../pb_caption/_caption' import Title from '../../pb_title/_title' const TimeUnstyled = (props) => { return ( <> <Caption size="xs" text="Basic unstyled example" /> <Time date={new Date()} showIcon showTimezone timeZone="America/New_York" unstyled {...props} /> <br /> <Caption size="xs" text="Example with wrapping typography kit" /> <Title size={1}> <Time date={new Date()} showIcon showTimezone timeZone="America/New_York" unstyled {...props} /> </Title> <br /> <Caption size="xs" text="Example with icon + subcaption" /> <Caption size="xs"> <Time date={new Date()} showIcon showTimezone timeZone="America/New_York" unstyled {...props} /> </Caption> <br /> </> ) } export default TimeUnstyled
Version data entries
1,645 entries across 1,645 versions & 2 rubygems