You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
Expose button variant as part of the API since the copy action is not always the primary action.
We have a pattern where we describe that we should keep the amount of primary buttons to a minimum (preferably only one per page/card). We had a few use cases where the copy to clipboard component is used and the copy button is often not as important as other buttons on a page, that's why we had requests for a secondary button style for the copy to clipboard component.
I think, it would suffice to just change the style of the button, as we're not using our button component in the copy to clipboard component. I'd keep the current functionality of the copy button as it is (turn into checkmark).
The secondary button should not replace the primary button, we need both versions (light+dark).
The text was updated successfully, but these errors were encountered:
button variant.
We have added an input to the copy-to-clipboard component that is passed
through to the button, which is being used in the copy to clipboard
template. The newly created input controls the variant of the embedded
button.
Fixes#76
button variant.
We have added an input to the copy-to-clipboard component that is passed
through to the button, which is being used in the copy to clipboard
template. The newly created input controls the variant of the embedded
button.
Fixes#76
button variant.
We have added an input to the copy-to-clipboard component that is passed
through to the button, which is being used in the copy to clipboard
template. The newly created input controls the variant of the embedded
button.
Fixes#76
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expose button variant as part of the API since the copy action is not always the primary action.
The text was updated successfully, but these errors were encountered: