feat(react): update to react 18

This commit is contained in:
Bastian Ike
2022-05-13 12:49:09 +02:00
committed by Bastian
parent f4c5c9edec
commit f28aad8bcb
35 changed files with 27496 additions and 16761 deletions

View File

@@ -6,7 +6,10 @@ interface Props {
secondary?: boolean;
}
const HeadlineGroup: React.FC<Props> = ({ children, secondary = false }) => (
const HeadlineGroup: React.FC<React.PropsWithChildren<Props>> = ({
children,
secondary = false,
}) => (
<div
className={classNames("headline-group", {
"headline-group--secondary": secondary,