Simple solution to fix this ts error
TS2769: No overload matches this call. Overload 1 of 2, '(props: RBSheetProps | Readonly): RBSheet', gave the following error. Type '{ children: Element; ref: ForwardedRef; height: number; closeOnDragDown: true; closeOnPressMask: true; customStyles: { container: { borderTopLeftRadius: number; borderTopRightRadius: number; paddingHorizontal: string; }; draggableIcon: { ...; }; }; keyboardAvoidingViewEnabled: true; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly'. Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly'. Overload 2 of 2, '(props: RBSheetProps, context: any): RBSheet', gave the following error. Type '{ children: Element; ref: ForwardedRef; height: number; closeOnDragDown: true; closeOnPressMask: true; customStyles: { container: { borderTopLeftRadius: number; borderTopRightRadius: number; paddingHorizontal: string; }; draggableIcon: { ...; }; }; keyboardAvoidingViewEnabled: true; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly'. Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly'
Simple solution to fix this ts error TS2769: No overload matches this call. Overload 1 of 2, '(props: RBSheetProps | Readonly): RBSheet', gave the following error. Type '{ children: Element; ref: ForwardedRef; height: number; closeOnDragDown: true; closeOnPressMask: true; customStyles: { container: { borderTopLeftRadius: number; borderTopRightRadius: number; paddingHorizontal: string; }; draggableIcon: { ...; }; }; keyboardAvoidingViewEnabled: true; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly'. Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly'. Overload 2 of 2, '(props: RBSheetProps, context: any): RBSheet', gave the following error. Type '{ children: Element; ref: ForwardedRef; height: number; closeOnDragDown: true; closeOnPressMask: true; customStyles: { container: { borderTopLeftRadius: number; borderTopRightRadius: number; paddingHorizontal: string; }; draggableIcon: { ...; }; }; keyboardAvoidingViewEnabled: true; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly'. Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly'