diff --git a/packages/react-core/src/components/Hero/Hero.tsx b/packages/react-core/src/components/Hero/Hero.tsx index 88946e29d47..f0cf81cbbf4 100644 --- a/packages/react-core/src/components/Hero/Hero.tsx +++ b/packages/react-core/src/components/Hero/Hero.tsx @@ -53,7 +53,7 @@ export const Hero: React.FunctionComponent = ({ bodyWidth, bodyMaxWidth, ...props -}) => { +}: HeroProps) => { const customStyles: { [key: string]: string } = {}; if (backgroundSrcLight) { customStyles[heroBackgroundImageLight.name] = `url(${backgroundSrcLight})`;