mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 15:26:02 +00:00
docs: unix timestamp
This commit is contained in:
parent
cff530acac
commit
37e5dd7753
@ -254,6 +254,10 @@ export default defineConfig({
|
||||
"title": "DatePicker",
|
||||
"link": "/components/date-picker"
|
||||
},
|
||||
{
|
||||
"title": "UnixTimestamp",
|
||||
"link": "/components/unix-timestamp"
|
||||
},
|
||||
{
|
||||
"title": "TimePicker",
|
||||
"link": "/components/time-picker"
|
||||
|
@ -1,9 +1,13 @@
|
||||
# UnixTimestamp
|
||||
|
||||
`UnixTimestamp` 是一个基于 `antd` 的DatePicker组件的封装。
|
||||
|
||||
|
||||
```ts
|
||||
interface UnixTimestampProps {
|
||||
value?: number;
|
||||
accuracy?: 'millisecond' | 'second';
|
||||
onChange?: (value: number) => void;
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user