diff --git a/src/Alert/Alert.tsx b/src/Alert/Alert.tsx index 77e03b608..308f42fe4 100644 --- a/src/Alert/Alert.tsx +++ b/src/Alert/Alert.tsx @@ -81,9 +81,7 @@ const Alert = ({ return ( ({ zIndex: theme.zIndices.content, width: "100%", color: theme.colors.white, - [`${Heading3}`]: { + [`${TopLevelText}`]: { padding: `${theme.space.x1} 0 ${theme.space.x1} ${theme.space.x3}`, }, })); @@ -226,14 +226,14 @@ type BaseMobileMenuProps = { showNulogyLogo?: boolean; }; -const BaseMobileMenu: React.FC> = ({ +const BaseMobileMenu = ({ menuData, closeMenu, subtext, themeColorObject, showNulogyLogo, ...props -}) => ( +}: BaseMobileMenuProps) => (