dmeditor
Version:
dmeditor is a block-style visual editor. Data is in json format.
13 lines (12 loc) • 419 B
TypeScript
import React from 'react';
import { type BrowseLinkCallbackParams } from '../config';
export type LinkRef = {
open: () => void;
};
interface LinkChooserProps {
defaultVisible: boolean;
value?: BrowseLinkCallbackParams;
onConfirm?: (value: BrowseLinkCallbackParams) => void;
}
export declare const LinkChooser: React.ForwardRefExoticComponent<LinkChooserProps & React.RefAttributes<LinkRef>>;
export {};