mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-09 04:31:35 +08:00
doc(time)
This commit is contained in:
parent
916f846928
commit
127b68bfa8
@ -1,4 +1,6 @@
|
||||
# Time
|
||||
Time provide some basic formation for time.
|
||||
## Demos
|
||||
```demo
|
||||
basic
|
||||
type
|
||||
@ -6,3 +8,12 @@ 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`||
|
Loading…
Reference in New Issue
Block a user