Open Avasam opened 2 years ago
@Avasam did you find any solution/alternative to this? Having the same issue when upgraded to React 18 Next 13
I haven"t touched or seen the relevant code in about a year. But I'd assume either // @ts-expect-error
comment or I patched the library using patch-package
.
In React 18, the children prop is no longer part of the
React.FC
type by default and has to be explicitly added.