UNPKG

@churchapps/apphelper-markdown

Version:

ChurchApps markdown/lexical editor components

14 lines (13 loc) 465 B
import "./editor.css"; interface Props { value: string; onChange?: (value: string) => void; mode?: "interactive" | "preview"; style?: any; textAlign?: "left" | "center" | "right"; placeholder?: string; element?: any; showFloatingEditor?: boolean; } declare function Editor({ value, onChange, mode, textAlign, style, placeholder, showFloatingEditor, ...props }: Props): import("react/jsx-runtime").JSX.Element; export default Editor;