mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
5b5ca4599e
* Replaces SEVERITIES const with Severity enum in BannerAlert * Replaced SEVERITIES with Severity in banner-alert.constants.js * Used BANNER_ALERT_SEVERITIES instead of SEVERITIES in banner-alert.stories.js * Updated README for usage of Severity instead of SEVERITIES * Updates to stories and docs link --------- Co-authored-by: Brad Decker <bhdecker84@gmail.com> Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
9 lines
222 B
JavaScript
9 lines
222 B
JavaScript
import { Severity } from '../../../helpers/constants/design-system';
|
|
|
|
export const BANNER_ALERT_SEVERITIES = {
|
|
DANGER: Severity.Danger,
|
|
INFO: Severity.Info,
|
|
SUCCESS: Severity.Success,
|
|
WARNING: Severity.Warning,
|
|
};
|