Interface DrawerListButtonItemProps

The drawer components are meant to be used in a for mobile only. Do not use them in other contexts. Especially not on desktop.

interface DrawerListButtonItemProps {
    children?: ReactNode;
    critical?: boolean;
    icon?: ReactElement<unknown, string | JSXElementConstructor<any>>;
    onClick?: () => void;
    role?: AriaRole;
    type?: "button" | "submit" | "reset";
}

Hierarchy

  • PropsWithChildren
    • DrawerListButtonItemProps

Properties

children?: ReactNode
critical?: boolean
icon?: ReactElement<unknown, string | JSXElementConstructor<any>>
onClick?: () => void
role?: AriaRole
type?: "button" | "submit" | "reset"