diff --git a/src/components/text/text.tsx b/src/components/text/text.tsx index cc644e251c1..2e856e851b5 100644 --- a/src/components/text/text.tsx +++ b/src/components/text/text.tsx @@ -29,6 +29,7 @@ export type EuiTextProps = CommonProps & size?: TextSize; /** * Any of our named colors or a `hex`, `rgb` or `rgba` value. + * @default inherit */ color?: TextColor | CSSProperties['color']; grow?: boolean; diff --git a/upcoming_changelogs/6267.md b/upcoming_changelogs/6267.md new file mode 100644 index 00000000000..6bc9ebd4252 --- /dev/null +++ b/upcoming_changelogs/6267.md @@ -0,0 +1,3 @@ +**Bug fixes** + +- Fixed `EuiTextProps` to show the `color` type option `inherit` as default