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
|
@ -9,16 +9,21 @@ import { NewsletterSignup, NewsletterUnsubscribe } from '@freesewing/react/compo
|
|||
|
||||
<DocusaurusDoc>
|
||||
|
||||
The __Newsletter__ component family provides the following components:
|
||||
- [Components](#components)
|
||||
|
||||
## Components
|
||||
|
||||
The **Newsletter** component family provides the following components:
|
||||
|
||||
- [NewsletterSignup](#newslettersignup)
|
||||
- [NewsletterUnsubscribe](#newsletterunsubscribe)
|
||||
|
||||
## NewsletterSignup
|
||||
### NewsletterSignup
|
||||
|
||||
<ComponentDocs docs={jsdoc.jsdocNewsletterSignup} example={NewsletterSignup} />
|
||||
|
||||
## NewsletterUnsubscribe
|
||||
### NewsletterUnsubscribe
|
||||
|
||||
<ComponentDocs docs={jsdoc.jsdocNewsletterUnsubscribe} example={NewsletterUnsubscribe} />
|
||||
|
||||
</DocusaurusDoc>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue