Skip to content

Commit

Permalink
Used default titleSize for EuiEmptyPrompt (#3598)
Browse files Browse the repository at this point in the history
* used default titleSize for EuiEmptyPrompt

* Update CHANGELOG.md
  • Loading branch information
anishagg17 authored Jun 12, 2020
1 parent 402f1e1 commit dd0d656
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- Added `BREAKPOINTS` and `getBreakpoint` utilities [#3578](https://github.com/elastic/eui/pull/3578))
- Added `'any'` option to the `step` prop of the `EuiFieldNumber` ([#3562](https://github.com/elastic/eui/pull/3562))
- Moved all `EuiHeader` SASS variables to `global_styles` ([#3592](https://github.com/elastic/eui/pull/3592))
- Default `titleSize` get's implicitly set to 'm' for `EuiEmptyPrompt` ([#3598](https://github.com/elastic/eui/pull/3598))

**Bug fixes**

Expand Down
2 changes: 1 addition & 1 deletion src/components/empty_prompt/empty_prompt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const EuiEmptyPrompt: FunctionComponent<EuiEmptyPromptProps> = ({
iconType,
iconColor = 'subdued',
title,
titleSize,
titleSize = 'm',
body,
actions,
className,
Expand Down

0 comments on commit dd0d656

Please sign in to comment.