mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-03 22:54:29 +01:00
03af17747b
* 15088: add button icon * button icon story updates * add primary type * update button icon docs * add test * button icon updates * button icon and test updates * button icon border radius and test update * remove padding prop * button icon updates * Update ui/components/component-library/button-icon/button-icon.stories.js Co-authored-by: George Marshall <george.marshall@consensys.net> * Update ui/components/component-library/button-icon/button-icon.stories.js Co-authored-by: George Marshall <george.marshall@consensys.net> * Update ui/components/component-library/button-icon/button-icon.stories.js Co-authored-by: George Marshall <george.marshall@consensys.net> * add aria label for storybook demo Co-authored-by: George Marshall <george.marshall@consensys.net>
17 lines
604 B
Plaintext
17 lines
604 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`ButtonIcon should render button element correctly 1`] = `
|
|
<div>
|
|
<button
|
|
aria-label="add"
|
|
class="box mm-button-icon mm-button-icon--size-lg box--display-inline-flex box--flex-direction-row box--justify-content-center box--align-items-center box--color-icon-default box--background-color-transparent box--rounded-lg"
|
|
data-testid="button-icon"
|
|
>
|
|
<div
|
|
class="box icon icon--size-lg box--flex-direction-row box--color-inherit"
|
|
style="mask-image: url('./images/icons/icon-add-square-filled.svg;"
|
|
/>
|
|
</button>
|
|
</div>
|
|
`;
|