[react] feat: Merged Button and CopyToClipboardButton
This commit is contained in:
parent
749b6b9da7
commit
e58177dedb
14 changed files with 105 additions and 122 deletions
|
@ -4,15 +4,20 @@ title: Button
|
|||
|
||||
import { DocusaurusDoc } from '@freesewing/react/components/Docusaurus'
|
||||
import { ComponentDocs } from '@site/src/components/component-docs.js'
|
||||
import { jsdocIconButton } from '@site/prebuild/jsdoc/components.button.mjs'
|
||||
import { IconButtonExample } from './_examples.js'
|
||||
import { jsdocCopyToClipboardButton, jsdocIconButton } from '@site/prebuild/jsdoc/components.button.mjs'
|
||||
import { CopyToClipboardButtonExample, IconButtonExample } from './_examples.js'
|
||||
|
||||
<DocusaurusDoc>
|
||||
|
||||
The **Button** component family provides the following components:
|
||||
|
||||
- [CopyToClipboardButton](#copytoclipboardbutton)
|
||||
- [IconButton](#iconbutton)
|
||||
|
||||
## CopyToClipboardButton
|
||||
|
||||
<ComponentDocs docs={jsdocCopyToClipboardButton} example={CopyToClipboardButtonExample} />
|
||||
|
||||
## IconButton
|
||||
|
||||
<ComponentDocs docs={jsdocIconButton} example={IconButtonExample} />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue