button secondary housekeeping (#16495)
* button secondary housekeeping * add snapshot * add export constantsfeature/default_network_editable
parent
f9ed4a560b
commit
d4bf8adaf8
@ -1 +1,2 @@ |
|||||||
export { ButtonPrimary } from './button-primary'; |
export { ButtonPrimary } from './button-primary'; |
||||||
|
export { BUTTON_PRIMARY_SIZES } from './button-primary.constants'; |
||||||
|
@ -0,0 +1,16 @@ |
|||||||
|
// Jest Snapshot v1, https://goo.gl/fbAQLP |
||||||
|
|
||||||
|
exports[`ButtonSecondary should render button element correctly 1`] = ` |
||||||
|
<div> |
||||||
|
<button |
||||||
|
class="box mm-button mm-button--size-md mm-button-secondary box--padding-right-4 box--padding-left-4 box--display-inline-flex box--flex-direction-row box--justify-content-center box--align-items-center" |
||||||
|
data-testid="button-secondary" |
||||||
|
> |
||||||
|
<span |
||||||
|
class="box text mm-button__content text--body-md text--color-inherit box--gap-2 box--flex-direction-row box--justify-content-center box--align-items-center box--display-flex" |
||||||
|
> |
||||||
|
Button Secondary |
||||||
|
</span> |
||||||
|
</button> |
||||||
|
</div> |
||||||
|
`; |
@ -1 +1,2 @@ |
|||||||
export { ButtonSecondary } from './button-secondary'; |
export { ButtonSecondary } from './button-secondary'; |
||||||
|
export { BUTTON_SECONDARY_SIZES } from './button-secondary.constants'; |
||||||
|
Loading…
Reference in new issue