diff --git a/src-docs/src/services/playground/iconValidator.js b/src-docs/src/services/playground/iconValidator.js index e3274483eef..cc3ba4a65d9 100644 --- a/src-docs/src/services/playground/iconValidator.js +++ b/src-docs/src/services/playground/iconValidator.js @@ -4,6 +4,7 @@ import { mapOptions } from './mapOptions'; import { PropTypes } from 'react-view'; const iconOptions = mapOptions(iconTypes.concat(logoTypes)); +iconOptions.alert = 'warning'; // Legacy alias for Elastic Charts - primarily here for playground testing export const iconValidator = (prop = { custom: {} }, value) => { const newProp = { diff --git a/src/components/icon/__snapshots__/icon.test.tsx.snap b/src/components/icon/__snapshots__/icon.test.tsx.snap index 8c8e001ba3f..a917e8bedaa 100644 --- a/src/components/icon/__snapshots__/icon.test.tsx.snap +++ b/src/components/icon/__snapshots__/icon.test.tsx.snap @@ -610,6 +610,27 @@ exports[`EuiIcon props type aggregate is rendered 1`] = ` `; +exports[`EuiIcon props type alert is rendered 1`] = ` + +`; + exports[`EuiIcon props type analyzeEvent is rendered 1`] = `