You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The website documentation for modal says you can use backdrop prop white using modal. But for some reason it is not working in VSCode.
error: backdropColor: string; onRequestClose: () => void; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Modal> & Readonly<ModalProps>'. Property 'backdropColor' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Modal> & Readonly<ModalProps>'. Overload 2 of 2, '(props: ModalProps, context: any): Modal', gave the following error. Type '{ children: Element; animationType: "slide"; transparent: false; visible: boolean; backdropColor: string; onRequestClose: () => void; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Modal> & Readonly<ModalProps>'. Property 'backdropColor' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Modal> & Readonly<ModalProps>'.ts(2769) (property) backdropColor: string
Description
The website documentation for modal says you can use backdrop prop white using modal. But for some reason it is not working in VSCode.
error:
backdropColor: string; onRequestClose: () => void; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Modal> & Readonly<ModalProps>'. Property 'backdropColor' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Modal> & Readonly<ModalProps>'. Overload 2 of 2, '(props: ModalProps, context: any): Modal', gave the following error. Type '{ children: Element; animationType: "slide"; transparent: false; visible: boolean; backdropColor: string; onRequestClose: () => void; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Modal> & Readonly<ModalProps>'. Property 'backdropColor' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Modal> & Readonly<ModalProps>'.ts(2769) (property) backdropColor: string
Documentation version
here is the link to the page: https://reactnative.dev/docs/modal#backdropcolor v: 0.76
The text was updated successfully, but these errors were encountered: