@churchapps/apphelper-markdown
Version:
ChurchApps markdown/lexical editor components
14 lines (13 loc) • 465 B
TypeScript
interface Props {
open: boolean;
onClose: () => void;
title?: string;
value?: string;
onChange?: (html: string) => void;
onSave?: (html: string) => void;
saveButtonText?: string;
maxWidth?: "xs" | "sm" | "md" | "lg" | "xl";
fullWidth?: boolean;
}
export declare function HtmlModal({ open, onClose, title, value, onChange, onSave, saveButtonText, maxWidth, fullWidth }: Props): import("react/jsx-runtime").JSX.Element;
export {};