1
0
Fork 0

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:
joostdecock 2025-05-25 16:29:57 +02:00
parent d0baf7cece
commit 22a89f12d3
50 changed files with 1816 additions and 669 deletions

View file

@ -1,20 +1,24 @@
---
title: Json
---
import { DocusaurusDoc } from '@freesewing/react/components/Docusaurus'
import { ComponentDocs } from '@site/src/components/component-docs.js'
import * as jsdoc from '@site/prebuild/jsdoc/components.json.mjs'
import { JsonExample } from './_examples.js'
<DocusaurusDoc>
The __Json__ component family provides the following components:
- [Components](#components)
## Components
The **Json** component family provides the following components:
- [Json](#json)
## Json
### Json
<ComponentDocs docs={jsdoc.jsdocJson} example={JsonExample} />
</DocusaurusDoc>