I am trying to run the example listed here but in typescript project. Added the types from here as well. But is giving me this error
Property 'opacity' does not exist on type 'IntrinsicAttributes & { ref?: Ref<Component<ModalProps, any, any>> | undefined; key?: Key | null | undefined; children?: ReactNode; ... 8 more ...; onBackgroundClick?: ((event: MouseEvent<...>) => void) | undefined; } & { ...; } & { ...; }'.ts(2769)
I am trying to run the example listed here but in typescript project. Added the types from here as well. But is giving me this error
Property 'opacity' does not exist on type 'IntrinsicAttributes & { ref?: Ref<Component<ModalProps, any, any>> | undefined; key?: Key | null | undefined; children?: ReactNode; ... 8 more ...; onBackgroundClick?: ((event: MouseEvent<...>) => void) | undefined; } & { ...; } & { ...; }'.ts(2769)