Timestamp

A localized timestamp component that supports momentjs format.

API

Props

Declaration Description Type Default Required
date Date instance Date Date() true
format momentjs format String DD/MM/YYYY HH:mm false

Style names

Timestamp doesn’t have specific style names.

JSX Declaration

<Timestamp date={new Date(2018, 6, 13)} format="LLLL" />

Snack Example

Coming soon.