Skip to content

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

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'.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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