feat(dev): Added react docs for Pattern + refactor
This adds support for not only documenating components, but also constants and functions that may be exported next to components.
This commit is contained in:
parent
d0baf7cece
commit
22a89f12d3
50 changed files with 1816 additions and 669 deletions
|
@ -2,7 +2,6 @@
|
|||
title: 'Null'
|
||||
---
|
||||
|
||||
|
||||
import { DocusaurusDoc } from '@freesewing/react/components/Docusaurus'
|
||||
import { ComponentDocs } from '@site/src/components/component-docs.js'
|
||||
import * as jsdoc from '@site/prebuild/jsdoc/components.null.mjs'
|
||||
|
@ -10,12 +9,16 @@ import { Null } from '@freesewing/react/components/Null'
|
|||
|
||||
<DocusaurusDoc>
|
||||
|
||||
The __Null__ component family provides the following components:
|
||||
- [Components](#components)
|
||||
|
||||
## Components
|
||||
|
||||
The **Null** component family provides the following components:
|
||||
|
||||
- [Null](#null)
|
||||
|
||||
## Null
|
||||
### Null
|
||||
|
||||
<ComponentDocs docs={jsdoc.jsdocNull} example={Null} />
|
||||
|
||||
</DocusaurusDoc>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue