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
|
@ -4,21 +4,29 @@ title: CuratedSet
|
|||
|
||||
import { DocusaurusDoc } from '@freesewing/react/components/Docusaurus'
|
||||
import { ComponentDocs } from '@site/src/components/component-docs.js'
|
||||
import { jsdocCuratedSet, jsdocCuratedSetLineup } from '@site/prebuild/jsdoc/components.curatedset.mjs'
|
||||
import {
|
||||
jsdocCuratedSet,
|
||||
jsdocCuratedSetLineup,
|
||||
} from '@site/prebuild/jsdoc/components.curatedset.mjs'
|
||||
import { CuratedSetLineupExample, CuratedSetExample } from './_examples.js'
|
||||
|
||||
<DocusaurusDoc>
|
||||
|
||||
- [Components](#components)
|
||||
|
||||
## Components
|
||||
|
||||
The **CuratedSet** component family provides the following components:
|
||||
|
||||
- [CuratedSet](#curatedset)
|
||||
- [CuratedSetLineup](#curatedsetlineup)
|
||||
|
||||
## CuratedSet
|
||||
### CuratedSet
|
||||
|
||||
<ComponentDocs docs={jsdocCuratedSet} example={CuratedSetExample} />
|
||||
|
||||
## CuratedSetLineup
|
||||
### CuratedSetLineup
|
||||
|
||||
<ComponentDocs docs={jsdocCuratedSetLineup} example={CuratedSetLineupExample} />
|
||||
|
||||
|
||||
</DocusaurusDoc>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue