@papernote/ui
Version:
A modern React component library with a paper notebook aesthetic - minimal, professional, and expressive
25 lines • 904 B
TypeScript
import { ReactNode } from 'react';
export interface AdminModalTab {
id: string;
label: string;
content: ReactNode;
}
export interface AdminModalProps {
isOpen: boolean;
onClose: () => void;
title: string;
subtitle?: string;
onSubmit?: (formData: FormData) => void;
isSaving?: boolean;
tabs: AdminModalTab[];
activeTabId: string;
onTabChange: (tabId: string) => void;
size?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '4xl' | '6xl' | 'full';
height?: string;
formId?: string;
children?: ReactNode;
customFooterActions?: ReactNode;
}
export declare function AdminModal({ isOpen, onClose, title, subtitle, onSubmit, isSaving, tabs, activeTabId, onTabChange, size, height, formId, children, customFooterActions }: AdminModalProps): import("react/jsx-runtime").JSX.Element | null;
export default AdminModal;
//# sourceMappingURL=AdminModal.d.ts.map