naive-ui/demo/documentation/components/time/enUS/index.md
2020-01-29 17:13:55 +08:00

365 B

Time

Time provide some basic formation for time.

Demos

basic
type
format
relative
unix

Props

Name Type Default Description
time number | Date null
type 'relative' | 'date' | 'datetime' 'relative'
to number | Date new Date()
unix boolean false
format string null
transparent boolean false