UNPKG

@curvenote/schema

Version:

Schema and markdown parser for @curvenote/editor

22 lines (21 loc) 614 B
import type { NodeDef } from '../types'; import type { MdFormatSerialize } from '../../serialize/types'; import type { Range } from '../../spec'; export declare type Attrs = { value?: string; valueFunction?: string; changeFunction?: string; format?: string; min?: string; minFunction?: string; max?: string; maxFunction?: string; step?: string; stepFunction?: string; }; export declare const def: NodeDef; export declare const spec: import("../types").MyNodeSpec<{ [x: string]: string; }, Range>; export declare const toMarkdown: MdFormatSerialize; export default spec;