@seplan/diti-ds
Version:
Reusable UI component library developed by DITI (Technology and Innovation Directorate of SEPLAN PI) based on Mantine and Tailwind CSS
21 lines • 980 B
TypeScript
import { DrawerProps } from '@mantine/core';
import { PropsWithChildren, ReactNode } from 'react';
interface FormDrawerRootProps extends Omit<DrawerProps, 'children'> {
children: ReactNode;
onClose: () => void;
}
declare function FormDrawerRoot({ children, onClose, ...props }: FormDrawerRootProps): import("react/jsx-runtime").JSX.Element;
declare function FormDrawerHeader({ children }: PropsWithChildren): import("react/jsx-runtime").JSX.Element;
interface FormDrawerContentProps {
children: ReactNode;
}
declare function FormDrawerContent({ children }: FormDrawerContentProps): import("react/jsx-runtime").JSX.Element;
declare function FormDrawerFooter({ children }: PropsWithChildren): import("react/jsx-runtime").JSX.Element;
export declare const FormDrawer: {
Root: typeof FormDrawerRoot;
Header: typeof FormDrawerHeader;
Content: typeof FormDrawerContent;
Footer: typeof FormDrawerFooter;
};
export {};
//# sourceMappingURL=form-drawer.d.ts.map