Skip to content

allowTouch is in code and README's example, but not in types/index.ts #8

@Molaire

Description

@Molaire

using allowTouch raises this error:

Type '{ src: string; alt: string; annotations: IAnnotation[]; onAnnotationsUpdate: Dispatch<SetStateAction<IAnnotation[]>>; allowTouch: true; }' is not assignable to type 'IntrinsicAttributes & AnnotationPropsOptional'.
Property 'allowTouch' does not exist on type 'IntrinsicAttributes & AnnotationPropsOptional'.

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