the children in props are not found because implicit children was removed
Type '{ children: Element[]; style: { backgroundColor: string; }; ref: RefObject<ViewShot>; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<ViewShot> & Readonly<ViewShotProperties>'.
Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<ViewShot> & Readonly<ViewShotProperties>'.
Type error with
@types/react@18
, the children in props are not found because implicit children were removedthe children in props are not found because implicit children was removed