☰
Debian Codegraph
@
368-1
367-1
/
/
node
/
@patternfly
/
react-core
/
src
/
components
/
Timestamp
/
examples
/
TimestampCustomFormat.tsx
☽
☼
node/@patternfly/react-core/src/components/Timestamp/examples/TimestampCustomFormat.tsx
code
plain
raw
MIT
2018 React Popper authors; 2019 Federico Zivolo; 2019 Red Hat, Inc.; Red Hat
debian/copyright
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
);