Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create ClipboardIconButton. #21135

Merged
merged 7 commits into from
Dec 17, 2024
Merged

Create ClipboardIconButton. #21135

merged 7 commits into from
Dec 17, 2024

Conversation

linuspahl
Copy link
Contributor

@linuspahl linuspahl commented Dec 6, 2024

Description

Motivation and Context

In the past a ClipboardButton has been created. Now we want to implement an IconButton which copies the provided text on click.

Example of icon buttons:
image

Since we can't reuse the ClipboardButton for this I extracted the related logic into a wrapper component which can be used for the existing ClipboardButton component and the newly created ClipboardIconButton component.

Screenshot of CopyIconButton:
image

/nocl

@linuspahl linuspahl force-pushed the clipboard-icon-button branch from 13965d2 to 3d29f5e Compare December 6, 2024 10:40
@linuspahl linuspahl force-pushed the clipboard-icon-button branch from efe657f to 44034ef Compare December 11, 2024 12:30
@linuspahl linuspahl force-pushed the clipboard-icon-button branch from 44034ef to e69b9a2 Compare December 16, 2024 16:34
@linuspahl linuspahl merged commit f4a1291 into master Dec 17, 2024
7 checks passed
@linuspahl linuspahl deleted the clipboard-icon-button branch December 17, 2024 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants