Menu
La Danze UI logoLa Danze UI logoLa Danze UIDocs
DemoGitHub
La Danze UI logoLa Danze UI logoLa Danze UI
  • Docs
  • Demo
  • GitHub
  • Getting Started
  • Usage
    • Introduction
    • Core
      • Theme
      • Drawer
      • Components/Hooks
    • Animation
      • Animate routing
      • Animate appearance
    • Form
  • API
    • Components
      • Theme
      • DrawerTemplate
      • Drawer
      • DrawerListItem
      • AnimateSwitch
      • AnimateRoute
      • AnimateLink
      • MountTransition
      • Form
      • FormField
      • LoadingPaper
      • NavLink
      • FlexLayout
      • FlexItem
    • Hooks
      • useAnimationKey
      • useOpenDrawer
      • useIsMount

useOpenDrawer()#

This hooks permits read and/or update open state of Drawer.

Example#

import { useOpenDrawer } from 'la-danze-ui';
...
function App() {
const [open, setOpen] = useOpenDrawer();
...
}
Edit this page
Previous
« useAnimationKey
Next
useIsMount »
  • Example
Copyright © 2021 La Danze UI Built with Docusaurus.