Skip to content

Type error in hover event #227

Open
Open
@TheLogan

Description

@TheLogan

There seems to be an error in the type definition. I have the following code which works as expected, but I need the ts-ignore to have it not freak out, but apart from that the code runs as expected.

onHover={event => {
    // @ts-ignore
    event.event.target.style.cursor = 'pointer'
}}

onUnhover={event => {
    // @ts-ignore
    event.event.target.style.cursor = 'auto'
}}

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