@coinmeca/ui
Version:
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
34 lines • 828 B
TypeScript
import { SwipeConfig } from "../../hooks/useSwipe";
export interface PositionEvent {
x?: number;
opacity?: number;
zIndex?: number;
}
export interface Sidebars {
active?: boolean;
width?: number;
scale?: number;
align?: "left" | "right";
upper?: {
active?: boolean;
children?: Sidebar[];
onBlur?: Function;
};
lower?: {
active?: boolean;
children?: Sidebar[];
onBlur?: Function;
swipe?: (SwipeConfig & {
area?: number;
onActive?: Function;
style?: object;
}) | boolean;
};
onBlur?: Function;
}
export interface Sidebar {
active?: boolean;
children: any;
}
export default function Sidebar(props: Sidebars): import("react").JSX.Element;
//# sourceMappingURL=Sidebar.d.ts.map