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
|
@ -43,6 +43,10 @@ import {
|
|||
|
||||
<DocusaurusDoc>
|
||||
|
||||
- [Components](#components)
|
||||
|
||||
## Components
|
||||
|
||||
The **Input** component family provides the following components:
|
||||
|
||||
- [ActiveImageInput](#activeimageinput)
|
||||
|
@ -62,52 +66,68 @@ The **Input** component family provides the following components:
|
|||
- [StringInput](#stringinput)
|
||||
- [ToggleInput](#toggleinput)
|
||||
|
||||
## ActiveImageInput
|
||||
### ActiveImageInput
|
||||
|
||||
<ComponentDocs docs={jsdocActiveImageInput} example={ActiveImageInputExample} />
|
||||
|
||||
## ButtonFrame
|
||||
### ButtonFrame
|
||||
|
||||
<ComponentDocs docs={jsdocButtonFrame} example={ButtonFrameExample} />
|
||||
|
||||
## DesignInput
|
||||
### DesignInput
|
||||
|
||||
<ComponentDocs docs={jsdocDesignInput} example={DesignInputExample} />
|
||||
|
||||
## EmailInput
|
||||
### EmailInput
|
||||
|
||||
<ComponentDocs docs={jsdocEmailInput} example={EmailInputExample} />
|
||||
|
||||
## Fieldset
|
||||
### Fieldset
|
||||
|
||||
<ComponentDocs docs={jsdocFieldset} example={FieldsetExample} />
|
||||
|
||||
## FileInput
|
||||
### FileInput
|
||||
|
||||
<ComponentDocs docs={jsdocFileInput} example={FileInputExample} />
|
||||
|
||||
## ImageInput
|
||||
### ImageInput
|
||||
|
||||
<ComponentDocs docs={jsdocImageInput} example={ImageInputExample} />
|
||||
|
||||
## ListInput
|
||||
### ListInput
|
||||
|
||||
<ComponentDocs docs={jsdocListInput} example={ListInputExample} />
|
||||
|
||||
## MarkdownInput
|
||||
### MarkdownInput
|
||||
|
||||
<ComponentDocs docs={jsdocMarkdownInput} example={MarkdownInputExample} />
|
||||
|
||||
## MeasurementInput
|
||||
### MeasurementInput
|
||||
|
||||
<ComponentDocs docs={jsdocMeasurementInput} example={MeasurementInputExample} />
|
||||
|
||||
## MfaInput
|
||||
### MfaInput
|
||||
|
||||
<ComponentDocs docs={jsdocMfaInput} example={MfaInputExample} />
|
||||
|
||||
## NumberInput
|
||||
### NumberInput
|
||||
|
||||
<ComponentDocs docs={jsdocNumberInput} example={NumberInputExample} />
|
||||
|
||||
## PassiveImageInput
|
||||
### PassiveImageInput
|
||||
|
||||
<ComponentDocs docs={jsdocPassiveImageInput} example={PassiveImageInputExample} />
|
||||
|
||||
## PasswordInput
|
||||
### PasswordInput
|
||||
|
||||
<ComponentDocs docs={jsdocPasswordInput} example={PasswordInputExample} />
|
||||
|
||||
## StringInput
|
||||
### StringInput
|
||||
|
||||
<ComponentDocs docs={jsdocStringInput} example={StringInputExample} />
|
||||
|
||||
## ToggleInput
|
||||
### ToggleInput
|
||||
|
||||
<ComponentDocs docs={jsdocToggleInput} example={ToggleInputExample} />
|
||||
|
||||
</DocusaurusDoc>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue