naive-ui/demo/documentation/components/time/enUS/index.demo-entry.md
07akioni 487001d697 build: add changelog to site, refactor loader based on suffix
.demo.md for component demo
.demo-entry.md for demo entry
.md for common docs
2020-08-19 23:30:04 +08:00

332 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