@selenite/graph-editor
Version:
A graph editor for visual programming, based on rete and svelte.
10 lines (9 loc) • 365 B
TypeScript
import type { ComponentSupportInterface } from './ComponentSupportInterface';
export type ComponentParams = ConstructorParameters<typeof BaseComponent>[0];
export declare class BaseComponent<T extends ComponentSupportInterface = ComponentSupportInterface> {
protected owner: T;
constructor({ owner }: {
owner: T;
});
cleanup?: () => void;
}