UNPKG

@ndbx/runtime

Version:

The `@ndbx/runtime` package provides a runtime environment to embed NodeBox visualizations directly into React applications. NodeBox is a powerful tool for creating interactive and generative visualizations, and this runtime allows you to integrate those

4 lines (3 loc) 295 B
import { ParameterType, Point } from "./types"; export declare function parseParameterValue(value: string, type?: ParameterType): number | boolean | Point | string | undefined; export declare function formatParameterValue(value: number | boolean | Point | string, type?: ParameterType): string;