UNPKG

@sudobility/email-components

Version:

Email marketing and management UI components for React

52 lines 1.41 kB
import { default as React } from 'react'; export interface EmailInputFieldProps { label: string; value: string; onChange: (value: string) => void; placeholder?: string; required?: boolean; error?: string; className?: string; } export declare const EmailInputField: React.FC<EmailInputFieldProps>; export interface CollapsibleEmailFieldProps extends EmailInputFieldProps { isVisible: boolean; onToggle: () => void; showLabel?: string; hideLabel?: string; } export declare const CollapsibleEmailField: React.FC<CollapsibleEmailFieldProps>; export interface EmailInputGroupProps { to: string; onToChange: (value: string) => void; cc?: string; onCcChange?: (value: string) => void; bcc?: string; onBccChange?: (value: string) => void; showCc?: boolean; showBcc?: boolean; onToggleCc?: () => void; onToggleBcc?: () => void; errors?: { to?: string; cc?: string; bcc?: string; }; className?: string; labels?: { to?: string; cc?: string; bcc?: string; addCc?: string; removeCc?: string; addBcc?: string; removeBcc?: string; }; placeholders?: { to?: string; cc?: string; bcc?: string; }; } export declare const EmailInputGroup: React.FC<EmailInputGroupProps>; //# sourceMappingURL=email-input-group.d.ts.map