UNPKG

@synergycodes/axiom

Version:

A React library for creating node-based UIs and diagram-driven applications. Perfect for React Flow users, providing ready-to-use node templates and components that work seamlessly with React Flow's ecosystem.

25 lines (24 loc) 764 B
import { PropsWithChildren } from 'react'; type Props = { /** Whether the node panel is selected */ selected: boolean; /** The content of the node panel */ children?: React.ReactNode; /** css className of the node panel */ className?: string; }; export declare const NodePanel: { Root: import('react').NamedExoticComponent<Props>; Header: import('react').NamedExoticComponent<PropsWithChildren<{ className?: string; }>>; Content: import('react').NamedExoticComponent<PropsWithChildren<{ className?: string; isVisible?: boolean; }>>; Handles: import('react').NamedExoticComponent<PropsWithChildren<{ isVisible?: boolean; alignment?: "center" | "header"; }>>; }; export {};