Timer
Usage
import { Timer } from '@aragon/ui'
const NOW = Date.now()
const DAY = 1000 * 60 * 60 * 24
const endDate = new Date(NOW + 5 * DAY)
const startDate = new Date(NOW - 5 * DAY)
const App = () => (
<div>
<Timer end={endDate} />
<Timer start={startDate} />
</div>
)Demonstration

Props
end
endTYPE
DEFAULT VALUE
start
startTYPE
DEFAULT VALUE
format
formatTYPE
DEFAULT VALUE
maxUnits
maxUnitsTYPE
DEFAULT VALUE
showEmpty
showEmptyTYPE
DEFAULT VALUE
showIcon
showIconTYPE
DEFAULT VALUE
Last updated
Was this helpful?
