diff --git a/editor.planx.uk/src/@planx/components/Content/Public.tsx b/editor.planx.uk/src/@planx/components/Content/Public.tsx index fd53d2112f..ef490d50ad 100644 --- a/editor.planx.uk/src/@planx/components/Content/Public.tsx +++ b/editor.planx.uk/src/@planx/components/Content/Public.tsx @@ -12,7 +12,7 @@ export type Props = PublicProps; const Content = styled(Box, { shouldForwardProp: (prop) => prop !== "color", -})(({ theme, color }) => ({ +})<{ color?: string }>(({ theme, color }) => ({ padding: theme.spacing(2), backgroundColor: color, color: @@ -28,7 +28,7 @@ const Content = styled(Box, { const ContentComponent: React.FC = (props) => { return ( - +