@bernierllc/email-ui
Version:
React UI components for email management, templates, scheduling, and analytics
19 lines • 579 B
TypeScript
import React from 'react';
import { EmailTemplate, ComponentProps } from '../../types';
interface TemplateFormData {
name: string;
subject: string;
content: string;
category?: string;
tags?: string[];
variables?: string[];
}
interface TemplateEditorProps extends ComponentProps {
template?: Partial<EmailTemplate>;
onSave: (template: TemplateFormData) => Promise<void>;
onCancel?: () => void;
isLoading?: boolean;
}
export declare const TemplateEditor: React.FC<TemplateEditorProps>;
export {};
//# sourceMappingURL=TemplateEditor.d.ts.map