[react] feat: Added docs for components/Uuid
This commit is contained in:
parent
b50228e0f9
commit
d8705ecc75
4 changed files with 39 additions and 13 deletions
|
@ -0,0 +1,4 @@
|
|||
import React from 'react'
|
||||
import { Uuid } from '@freesewing/react/components/Uuid'
|
||||
|
||||
export const UuidExample = () => <Uuid uuid="08bf6a94-6dfb-4921-b359-3b5f1bc51349" label="UUID with custom label" />
|
|
@ -2,6 +2,23 @@
|
|||
title: Uuid
|
||||
---
|
||||
|
||||
:::note
|
||||
This page is yet to be created
|
||||
:::
|
||||
import { DocusaurusDoc } from '@freesewing/react/components/Docusaurus'
|
||||
import { ComponentDocs } from '@site/src/components/component-docs.js'
|
||||
import * as jsdoc from '@site/prebuild/jsdoc/components.uuid.mjs'
|
||||
import { UuidExample } from './_examples.js'
|
||||
|
||||
<DocusaurusDoc>
|
||||
|
||||
- [Components](#components)
|
||||
|
||||
## Components
|
||||
|
||||
The **Uuid** component family provides the following components:
|
||||
|
||||
- [Uuid](#uuid)
|
||||
|
||||
### Uuid
|
||||
|
||||
<ComponentDocs docs={jsdoc.jsdocUuid} example={UuidExample} />
|
||||
|
||||
</DocusaurusDoc>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue