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
|
@ -1,19 +1,24 @@
|
|||
---
|
||||
title: Number
|
||||
---
|
||||
|
||||
import { DocusaurusDoc } from '@freesewing/react/components/Docusaurus'
|
||||
import { ComponentDocs } from '@site/src/components/component-docs.js'
|
||||
import * as jsdoc from '@site/prebuild/jsdoc/components.number.mjs'
|
||||
import { NumberCircleExample } from './_examples.js'
|
||||
|
||||
|
||||
<DocusaurusDoc>
|
||||
|
||||
The __Number__ component family provides the following components:
|
||||
- [Components](#components)
|
||||
|
||||
## Components
|
||||
|
||||
The **Number** component family provides the following components:
|
||||
|
||||
- [NumberCircle](#numbercircle)
|
||||
|
||||
## NumberCircle
|
||||
### NumberCircle
|
||||
|
||||
<ComponentDocs docs={jsdoc.jsdocNumberCircle} example={NumberCircleExample} />
|
||||
|
||||
</DocusaurusDoc>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue