dgz-ui-shared
Version:
Custom ui library using React.js, Shadcn/ui, TailwindCSS, Typescript, dgz-ui library
11 lines • 506 B
TypeScript
import type { ReactNode } from 'react';
import type { DialogProps } from '@radix-ui/react-dialog';
export type MyModalProps = DialogProps & {
header?: ReactNode;
trigger?: ReactNode;
children?: ReactNode;
footer?: ReactNode;
size?: 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | 'full';
};
export declare const MyModal: ({ header, footer, trigger, children, size, ...props }: MyModalProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=MyModal.d.ts.map