From 63bcbdf6860bb92b12ce84c636ddff4dfb445ede Mon Sep 17 00:00:00 2001
From: CJ Cenizal
- You can also provide an array of multiple actions. + You can also provide an array of multiple actions. Be sure to list primary actions first + and secondary actions last.
), diff --git a/src/components/empty_prompt/empty_prompt.js b/src/components/empty_prompt/empty_prompt.js index df4ee08c2c3..c01b3cf9739 100644 --- a/src/components/empty_prompt/empty_prompt.js +++ b/src/components/empty_prompt/empty_prompt.js @@ -5,7 +5,7 @@ import classNames from 'classnames'; import { TITLE_SIZES } from '../title/title'; import { EuiFlexGroup, EuiFlexItem } from '../flex'; import { EuiSpacer } from '../spacer'; -import { EuiIcon, COLORS } from '../icon/icon'; +import { EuiIcon, COLORS, TYPES } from '../icon/icon'; import { EuiText, EuiTextColor } from '../text'; import { EuiTitle } from '../title'; @@ -114,7 +114,7 @@ export const EuiEmptyPrompt = ({ }; EuiEmptyPrompt.propTypes = { - iconType: PropTypes.string, + iconType: PropTypes.oneOf(TYPES), /** * Pass `null` to use original icon color