@nexusui/components
Version:
These are custom components specially-developed for NexusUI applications. They will make your life easier by giving you out-of-the-box implementations for various high-level UI elements that you can drop directly into your application.
19 lines (18 loc) • 618 B
TypeScript
import { TranslateFuncType } from '../../../util/models';
export declare const prefix = "NexusInsertLink";
export interface IInsertLinkModal {
anchorEl?: HTMLElement;
initialText?: string;
initialUrl?: string;
onSave?: (text: string, link: string) => void;
onCancel?: () => void;
t: TranslateFuncType;
}
export declare const InsertLinkModal: ({ initialText, initialUrl, anchorEl, onCancel, onSave, t }: {
initialText?: string | undefined;
initialUrl?: string | undefined;
anchorEl: any;
onCancel: any;
onSave: any;
t: any;
}) => import("react/jsx-runtime").JSX.Element;