mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-30 08:09:15 +01:00
c9560b75f2
* add avatar icon component * add avatar icon severities * avatar icon docs * update tests and remove stylesheet * aria label * remove aria label * update test * remove aria label * iconName prop type string * Update ui/components/component-library/avatar-icon/README.mdx Co-authored-by: George Marshall <george.marshall@consensys.net> * Update ui/components/component-library/avatar-icon/README.mdx Co-authored-by: George Marshall <george.marshall@consensys.net> * Update ui/components/component-library/avatar-icon/avatar-icon.js Co-authored-by: George Marshall <george.marshall@consensys.net> * Update ui/components/component-library/avatar-icon/avatar-icon.stories.js Co-authored-by: George Marshall <george.marshall@consensys.net> * marginSizeControlOptions Co-authored-by: George Marshall <george.marshall@consensys.net>
10 lines
185 B
JavaScript
10 lines
185 B
JavaScript
import { SIZES } from '../../../helpers/constants/design-system';
|
|
|
|
export const AVATAR_ICON_SIZES = {
|
|
XS: SIZES.XS,
|
|
SM: SIZES.SM,
|
|
MD: SIZES.MD,
|
|
LG: SIZES.LG,
|
|
XL: SIZES.XL,
|
|
};
|