Debian Codegraph @

node/@patternfly/react-core/src/components/Timestamp/examples/TimestampCustomFormat.tsx

raw
1 import { Timestamp } from '@patternfly/react-core';
2
3 export const TimestampCustomFormat: React.FunctionComponent = () => (
4 <Timestamp customFormat={{ year: '2-digit', month: 'short', weekday: 'short', day: 'numeric', hour: 'numeric' }} />
5 );