Skip to content

Error when trying to create a React wrapper for the library #6

@m-abdelwahab

Description

@m-abdelwahab

Hi, I found your library and I think it's really cool! I'm trying to add it to a React project and I keep getting an error that Object(...) is not a function when calling the annotate function.
I reproduced the behavior in a code sandbox.
https://codesandbox.io/s/tender-river-k6d32?fontsize=14&hidenavigation=1&theme=dark

Idk what I'm doing wrong.

Thank you so much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions