@cmk/fe_utils
Version:
frontend utility library
15 lines (13 loc) • 629 B
TypeScript
import { ExtendedObjectSchemaType } from '../../editorComponents';
import { EditorStateType, Element, Property } from '../../editorRendererController';
export type GetInjectedElementIconParams = {
element: Element;
schemaProps: ExtendedObjectSchemaType['properties'];
icons?: Record<string, string>;
isHtmlElement: boolean;
elementProps: Property[];
viewport: EditorStateType['ui']['selected']['viewport'];
isViewportAutarkic: boolean;
viewport_references: EditorStateType['viewport_references'];
};
export declare const getInjectedElementIconProps: (params: GetInjectedElementIconParams) => {};