drawer-stack
Version:
Drawer stack for React
18 lines (17 loc) • 712 B
TypeScript
import { type RouteObject } from "react-router";
export declare const useDrawerScrollContainerRef: () => HTMLDivElement | null;
export declare const useDrawerSearchParams: () => URLSearchParams;
interface DrawerStackProps {
routes: RouteObject[];
STACK_GAP?: number;
STACK_SQUEEZE?: number;
closeButton?: React.ComponentType<{
onClick: () => void;
}>;
height?: string;
backgroundColor?: string;
borderRadius?: string;
handleClassName?: string;
}
export declare function DrawerStack({ routes, STACK_GAP, STACK_SQUEEZE, closeButton, height, backgroundColor, borderRadius, handleClassName, }: DrawerStackProps): import("react/jsx-runtime").JSX.Element | null;
export {};