Skip to content

useDisclosure issue #109

@timbiles

Description

@timbiles

Describe the bug
When trying to implement the useDisclosure hook, the following error occurs.

export 'useDisclosure' was not found in 'minerva-ui'

To Reproduce
Steps to reproduce the behavior:

  1. On an application with access to minerva-ui, import the useDisclosure hook.
    import { useDisclosure } from 'minerva-ui'
  2. Implement the hook inside a function.
    const { isOpen, onOpen, onClose } = useDisclosure();
  3. See if the following error display.
    export 'useDisclosure' was not found in 'minerva-ui'

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions