Skip to content

Property 'opacity' does not exist on 'IntrinsicAttributes' #73

@AliYar-Khan

Description

@AliYar-Khan

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions