Skip to main content

Drawer.Toggle

Button for showing drawer.

Import

import { Drawer } from "@dhua5922/react-native-kit";

Examples

Live Editor
function Example() {
  return (
    <>
      <Drawer.Toggle />
      <Drawer.Toggle Icon={Ionicons} name="ios-menu-outline" />
    </>
  );
}
Result
Loading...

Props

note

Include all props from Expo Icons

NameTypeDefaultDescription
IconFeatherIcon type, such as Feather or IonIcons