UNPKG

@curvenote/schema

Version:

Schema and markdown parser for @curvenote/editor

16 lines (15 loc) 481 B
import type { NodeDef } from '../types'; import type { MdFormatSerialize } from '../../serialize/types'; import type { Switch } from '../../spec'; export declare type Attrs = { value?: string; valueFunction?: string; changeFunction?: string; label?: string; }; export declare const def: NodeDef; export declare const spec: import("../types").MyNodeSpec<{ [x: string]: string; }, Switch>; export declare const toMarkdown: MdFormatSerialize; export default spec;