-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
Is your enhancement related to a problem? Please describe.
I would like to set the variant property on the underlying Button so that it looks like a button instead of a random text string:
Designs
<ClipboardButton
text={formData}
variant='primary'
/>
Then pass props to this <Button>:
block-components/components/clipboard-button/index.tsx
Lines 81 to 85 in 766fc8d
| return ( | |
| <Button disabled={disabled} ref={ref}> | |
| {hasCopied ? copied : copy} | |
| </Button> | |
| ); |
Describe alternatives you've considered
I have also considered reimplementing this component in my project, but it's not that important.
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels