1
0
Fork 0

[react] feat: Added docs for components/Ux

This commit is contained in:
joostdecock 2025-05-29 13:57:52 +02:00
parent d8705ecc75
commit 5e5d3a0270
4 changed files with 49 additions and 7 deletions

View file

@ -0,0 +1,5 @@
import React from 'react'
import { Ux, UxMini } from '@freesewing/react/components/Ux'
export const UxExample = () => <Ux ux={4} />
export const UxMiniExample = () => <UxMini ux={4} />

View file

@ -2,6 +2,28 @@
title: Ux
---
:::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.ux.mjs'
import { UxExample, UxMiniExample } from './_examples.js'
<DocusaurusDoc>
- [Components](#components)
## Components
The **Ux** component family provides the following components:
- [Ux](#ux)
- [UxMini](#uxmini)
### Ux
<ComponentDocs docs={jsdoc.jsdocUx} example={UxExample} />
### UxMini
<ComponentDocs docs={jsdoc.jsdocUxMini} example={UxMiniExample} />
</DocusaurusDoc>