1
0
Fork 0

[react] feat: Added docs for components/Profile

This commit is contained in:
joostdecock 2025-05-29 11:36:41 +02:00
parent 320bcf8534
commit d6cbe79dd5
4 changed files with 59 additions and 17 deletions

View file

@ -2,6 +2,33 @@
title: Profile
---
:::note
This page is yet to be created
:::
import { DocusaurusDoc } from '@freesewing/react/components/Docusaurus'
import { ComponentDocs } from '@site/src/components/component-docs.js'
import * as jsdoc from '@site/prebuild/jsdoc/components.profile.mjs'
import { AvatarExample, OwnProfileExample, UserProfileExample } from './_examples.js'
<DocusaurusDoc>
- [Components](#components)
## Components
The **Json** component family provides the following components:
- [Avatar](#avatar)
- [OwnProfile](#ownprofile)
- [UserProfile](#userprofile)
### Avatar
<ComponentDocs docs={jsdoc.jsdocAvatar} example={AvatarExample} />
### OwnProfile
<ComponentDocs docs={jsdoc.jsdocOwnProfile} example={OwnProfileExample} />
### UserProfile
<ComponentDocs docs={jsdoc.jsdocUserProfile} example={UserProfileExample} />
</DocusaurusDoc>