feat(docs): migrate documentation site into monorepo (#5912)
This commit is contained in:
1 parent
3e464a76f2
commit
9e421c67bd
605 files changed
+26764
-219
No files matched your search
@@ -0,0 +1,38 @@
|
||||
---
|
||||
title: 'Date and time'
|
||||
description: 'Displays the current date and time.'
|
||||
hide_title: true
|
||||
---
|
||||
|
||||
import { AddingWidget } from '@site/src/components/widgets/adding';
|
||||
import { WidgetConfig } from '@site/src/components/widgets/configuration';
|
||||
import { WidgetHeader } from '@site/src/components/widgets/header';
|
||||
import { clockWidget } from '.';
|
||||
|
||||
|
||||
<WidgetHeader
|
||||
widget={clockWidget}
|
||||
categories={['Time']}
|
||||
/>
|
||||
|
||||
The clock widget displays the current date and time in a customizable format.
|
||||
|
||||
### Screenshots
|
||||
|
||||
import localClock from './img/local.png';
|
||||
import londonClock from './img/london-with-seconds.png';
|
||||
import tokyoClock from './img/tokyo-12-hour.png';
|
||||
|
||||
<div className='flex gap-1'>
|
||||
<img src={localClock} alt="clock format-24-hours timezone-local" width={128} height={128} />
|
||||
<img src={londonClock} alt="clock format-24-hours with-seconds timezone-london" width={256} height={128} />
|
||||
<img src={tokyoClock} alt="clock format-12-hours timezone-tokyo" width={256} height={128} />
|
||||
</div>
|
||||
|
||||
|
||||
### Adding the widget
|
||||
|
||||
<AddingWidget />
|
||||
|
||||
### Configuration
|
||||
<WidgetConfig configuration={clockWidget.configuration} />
|
||||
Reference in new issue
Block a user