diff --git a/src/components/title/title.tsx b/src/components/title/title.tsx index eb61fdc4836a..7312c79dd090 100644 --- a/src/components/title/title.tsx +++ b/src/components/title/title.tsx @@ -15,7 +15,6 @@ export const TITLE_SIZES = keysOf(titleSizeToClassNameMap); export type EuiTitleSize = keyof typeof titleSizeToClassNameMap; const textTransformToClassNameMap = { - none: '', uppercase: 'euiTitle--uppercase', }; @@ -33,13 +32,13 @@ export const EuiTitle: FunctionComponent = ({ size = 'm', children, className, - textTransform = 'none', + textTransform, ...rest }) => { const classes = classNames( 'euiTitle', titleSizeToClassNameMap[size], - textTransformToClassNameMap[textTransform], + textTransform ? textTransformToClassNameMap[textTransform] : undefined, className );