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

@@ -11,7 +11,7 @@ type ItemListProps = {
itemStyle?: React.CSSProperties[];
};
const ItemList: React.FC<ItemListProps> = ({
const ItemList: React.FC<React.PropsWithChildren<ItemListProps>> = ({
children,
items,
activeItem,