@dndbuilder.com/react
Version:
Drag and drop builder for React
25 lines (24 loc) • 1.11 kB
TypeScript
import { LinkSettingsType } from './types';
declare const LinkConfig: {
icon?: import('react').ComponentType | undefined;
type: string;
style?: ((params: {
blockId: string;
settings: LinkSettingsType;
themeSettings: import('../..').Theme["settings"];
breakpoints: import('../..').BreakpointConfig[];
}) => import('free-style').Styles) | undefined;
advancedSettings?: import('../..').BlockAdvancedSettings | undefined;
previewImage?: string | undefined;
component: import('react').ComponentType<import('../..').BlockProps<LinkSettingsType>>;
previewComponent?: import('react').ComponentType<import('../..').BlockProps<LinkSettingsType>> | undefined;
group?: string | undefined;
disableAdvancedSettings?: boolean | undefined;
isVisible?: (params?: import('../..').AnyObject) => boolean;
toolbar?: import('react').ComponentType<import('../..').BlockToolbarProps> | undefined;
settings: {};
label: string;
controls: import('../..').BlockControl[];
};
export default LinkConfig;
//# sourceMappingURL=link.config.d.ts.map