mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-02 06:07:06 +01:00
a28d727caf
* add button component * add all button props * update tests * add button type prop * fix base button size const * add href prop to button base * Update ui/components/component-library/button/README.mdx Co-authored-by: George Marshall <george.marshall@consensys.net> * Update ui/components/component-library/button/README.mdx Co-authored-by: George Marshall <george.marshall@consensys.net> * update tests * Update ui/components/component-library/button-primary/button-primary.js Co-authored-by: George Marshall <george.marshall@consensys.net> * Update ui/components/component-library/button/README.mdx Co-authored-by: George Marshall <george.marshall@consensys.net> * Update ui/components/component-library/button/button.stories.js Co-authored-by: George Marshall <george.marshall@consensys.net> * Update ui/components/component-library/button/button.js Co-authored-by: George Marshall <george.marshall@consensys.net> * Update ui/components/component-library/button/button.stories.js Co-authored-by: George Marshall <george.marshall@consensys.net> * update button props on readme * linting issue fix Co-authored-by: George Marshall <george.marshall@consensys.net>
15 lines
266 B
JavaScript
15 lines
266 B
JavaScript
import { SIZES } from '../../../helpers/constants/design-system';
|
|
|
|
export const BUTTON_SIZES = {
|
|
SM: SIZES.SM,
|
|
MD: SIZES.MD,
|
|
LG: SIZES.LG,
|
|
AUTO: SIZES.AUTO,
|
|
};
|
|
|
|
export const BUTTON_TYPES = {
|
|
PRIMARY: 'primary',
|
|
SECONDARY: 'secondary',
|
|
LINK: 'link',
|
|
};
|