mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-29 23:58:06 +01:00
1f0c0d041c
* Update Button prop name type to variant * fix: lint errors on running test cases * change remaining files * change typo: BUTTON_VARIANTS to BUTTON_VARIANT * fix: button.test.js lint errors * update: button instances & import in remaing files * fix: prettier warnings --------- Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com> Co-authored-by: Brad Decker <bhdecker84@gmail.com>
16 lines
288 B
JavaScript
16 lines
288 B
JavaScript
import { Size } from '../../../helpers/constants/design-system';
|
|
|
|
export const BUTTON_SIZES = {
|
|
SM: Size.SM,
|
|
MD: Size.MD,
|
|
LG: Size.LG,
|
|
INHERIT: Size.inherit,
|
|
AUTO: Size.auto,
|
|
};
|
|
|
|
export const BUTTON_VARIANT = {
|
|
PRIMARY: 'primary',
|
|
SECONDARY: 'secondary',
|
|
LINK: 'link',
|
|
};
|