Skip to content

Supporting any wrapping element #22

@sb8244

Description

@sb8244

I'm wishing to wrap the target of this library in something other than a div. I went ahead and made some changes locally to get this type signature:

<ClickOutside onClickOutside={handleClickOff} wrappingElement={'span'}>

Is this something that you would want back upstream?

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