Skip to content

How to use type Props? #97

@usmanghani-em

Description

@usmanghani-em

The type Props has not been exported.
I tried to use Tooltip.propTypes as well, but I get this Typescript error:

'Tooltip' only refers to a type, but is being used as a namespace here.

then I tried to use typeof Tooltip.propTypes, but got another Typescript error:

Property 'propTypes' does not exist on type 'typeof Tooltip'.ts(2339)

I there a proper way to use the type? If not then please export the type.
Thanks

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