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
|
@ -89,7 +89,11 @@ import {
|
|||
|
||||
<DocusaurusDoc>
|
||||
|
||||
The **Account** component family provides the following components:
|
||||
- [Components](#components)
|
||||
|
||||
## Components
|
||||
|
||||
The **Account** component family provides the following [components](#components):
|
||||
|
||||
- [AccountStatus ](#accountstatus)
|
||||
- [Apikeys ](#apikeys)
|
||||
|
@ -130,47 +134,47 @@ The **Account** component family provides the following components:
|
|||
- [UserRole ](#userrole)
|
||||
- [Website ](#website)
|
||||
|
||||
## AccountStatus
|
||||
### AccountStatus
|
||||
|
||||
<ComponentDocs docs={jsdocAccountStatus} example={AccountStatusExample} />
|
||||
|
||||
## Apikeys
|
||||
### Apikeys
|
||||
|
||||
<ComponentDocs docs={jsdocApikeys} example={ApikeysExample} />
|
||||
|
||||
## Avatar
|
||||
### Avatar
|
||||
|
||||
<ComponentDocs docs={jsdocAvatar} example={AvatarExample} />
|
||||
|
||||
## Bio
|
||||
### Bio
|
||||
|
||||
<ComponentDocs docs={jsdocBio} example={BioExample} />
|
||||
|
||||
## BookmarkButton
|
||||
### BookmarkButton
|
||||
|
||||
<ComponentDocs docs={jsdocBookmarkButton} example={BookmarkButtonExample} />
|
||||
|
||||
## Bookmarks
|
||||
### Bookmarks
|
||||
|
||||
<ComponentDocs docs={jsdocBookmarks} example={BookmarksExample} />
|
||||
|
||||
## Compare
|
||||
### Compare
|
||||
|
||||
<ComponentDocs docs={jsdocCompare} example={CompareExample} />
|
||||
|
||||
## Consent
|
||||
### Consent
|
||||
|
||||
<ComponentDocs docs={jsdocConsent} example={ConsentExample} />
|
||||
|
||||
## Control
|
||||
### Control
|
||||
|
||||
<ComponentDocs docs={jsdocControl} example={ControlExample} />
|
||||
|
||||
## Email
|
||||
### Email
|
||||
|
||||
<ComponentDocs docs={jsdocEmail} example={EmailExample} />
|
||||
|
||||
## EmailChangeConfirmation
|
||||
### EmailChangeConfirmation
|
||||
|
||||
<MiniNote>
|
||||
#### Requires a valid callback URL This component will not work without the proper <code>id</code>{' '}
|
||||
|
@ -180,111 +184,111 @@ The **Account** component family provides the following components:
|
|||
|
||||
<ComponentDocs docs={jsdocEmailChangeConfirmation} example={EmailChangeConfirmationExample} />
|
||||
|
||||
## Export
|
||||
### Export
|
||||
|
||||
<ComponentDocs docs={jsdocExport} example={ExportExample} />
|
||||
|
||||
## Github
|
||||
### Github
|
||||
|
||||
<ComponentDocs docs={jsdocGithub} example={GithubExample} />
|
||||
|
||||
## ImportSet
|
||||
### ImportSet
|
||||
|
||||
<ComponentDocs docs={jsdocImportSet} example={ImportSetExample} />
|
||||
|
||||
## Instagram
|
||||
### Instagram
|
||||
|
||||
<ComponentDocs docs={jsdocInstagram} example={InstagramExample} />
|
||||
|
||||
## Links
|
||||
### Links
|
||||
|
||||
<ComponentDocs docs={jsdocLinks} example={LinksExample} />
|
||||
|
||||
## Mastodon
|
||||
### Mastodon
|
||||
|
||||
<ComponentDocs docs={jsdocMastodon} example={MastodonExample} />
|
||||
|
||||
## Mfa
|
||||
### Mfa
|
||||
|
||||
<ComponentDocs docs={jsdocMfa} example={MfaExample} />
|
||||
|
||||
## MsetCard
|
||||
### MsetCard
|
||||
|
||||
<ComponentDocs docs={jsdocMsetCard} example={MsetCardExample} />
|
||||
|
||||
## NewSet
|
||||
### NewSet
|
||||
|
||||
<ComponentDocs docs={jsdocNewSet} example={NewSetExample} />
|
||||
|
||||
## Newsletter
|
||||
### Newsletter
|
||||
|
||||
<ComponentDocs docs={jsdocNewsletter} example={NewsletterExample} />
|
||||
|
||||
## Password
|
||||
### Password
|
||||
|
||||
<ComponentDocs docs={jsdocPassword} example={PasswordExample} />
|
||||
|
||||
## Pattern
|
||||
### Pattern
|
||||
|
||||
<ComponentDocs docs={jsdocPattern} example={PatternExample} />
|
||||
|
||||
## PatternCard
|
||||
### PatternCard
|
||||
|
||||
<ComponentDocs docs={jsdocPatternCard} example={PatternCardExample} />
|
||||
|
||||
## Patterns
|
||||
### Patterns
|
||||
|
||||
<ComponentDocs docs={jsdocPatterns} example={PatternsExample} />
|
||||
|
||||
## Reddit
|
||||
### Reddit
|
||||
|
||||
<ComponentDocs docs={jsdocReddit} example={RedditExample} />
|
||||
|
||||
## Reload
|
||||
### Reload
|
||||
|
||||
<ComponentDocs docs={jsdocReload} example={ReloadExample} />
|
||||
|
||||
## Remove
|
||||
### Remove
|
||||
|
||||
<ComponentDocs docs={jsdocRemove} example={RemoveExample} />
|
||||
|
||||
## Restrict
|
||||
### Restrict
|
||||
|
||||
<ComponentDocs docs={jsdocRestrict} example={RestrictExample} />
|
||||
|
||||
## Set
|
||||
### Set
|
||||
|
||||
<ComponentDocs docs={jsdocSet} example={SetExample} />
|
||||
|
||||
## Sets
|
||||
### Sets
|
||||
|
||||
<ComponentDocs docs={jsdocSets} example={SetsExample} />
|
||||
|
||||
## Tiktok
|
||||
### Tiktok
|
||||
|
||||
<ComponentDocs docs={jsdocTiktok} example={TiktokExample} />
|
||||
|
||||
## Twitch
|
||||
### Twitch
|
||||
|
||||
<ComponentDocs docs={jsdocTwitch} example={TwitchExample} />
|
||||
|
||||
## Units
|
||||
### Units
|
||||
|
||||
<ComponentDocs docs={jsdocUnits} example={UnitsExample} />
|
||||
|
||||
## UserId
|
||||
### UserId
|
||||
|
||||
<ComponentDocs docs={jsdocUserId} example={UserIdExample} />
|
||||
|
||||
## Username
|
||||
### Username
|
||||
|
||||
<ComponentDocs docs={jsdocUsername} example={UsernameExample} />
|
||||
|
||||
## UserRole
|
||||
### UserRole
|
||||
|
||||
<ComponentDocs docs={jsdocUserRole} example={UserRoleExample} />
|
||||
|
||||
## Website
|
||||
### Website
|
||||
|
||||
<ComponentDocs docs={jsdocWebsite} example={WebsiteExample} />
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue