@lumina-study/blocks-graph
Version:
Framework-agnostic Web Component for visualizing Lumina Study block schemas
14 lines • 958 B
TypeScript
import { type CSSProperties } from 'react';
import type { BlocksGraphBaseConfig } from '../blocks-graph-base-config.js';
import type { BlocksRenderedEvent } from '../blocks-rendered-event.js';
import type { BlockSelectedEvent } from '../block-selected-event.js';
import '../../index.js';
export interface BlocksGraphProps extends BlocksGraphBaseConfig {
schemaVersion?: 'v0.1' | 'internal';
onBlocksRendered?: (event: CustomEvent<BlocksRenderedEvent>) => void;
onBlockSelected?: (event: CustomEvent<BlockSelectedEvent>) => void;
className?: string;
style?: CSSProperties;
}
export declare function BlocksGraphReact({ blocks, jsonUrl, language, orientation, showPrerequisites, nodeWidth, nodeHeight, horizontalSpacing, verticalSpacing, maxNodesPerLevel, prerequisiteLineStyle, onBlocksRendered, onBlockSelected, className, style, }: BlocksGraphProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=BlocksGraphReact.d.ts.map