UNPKG

@curvenote/schema

Version:

Schema and markdown parser for @curvenote/editor

17 lines (16 loc) 514 B
import type { NodeDef } from '../types'; import type { MdFormatSerialize } from '../../serialize/types'; import type { Button } from '../../spec'; export declare type Attrs = { label?: string; labelFunction?: string; disabled?: string; disabledFunction?: string; clickFunction?: string; }; export declare const def: NodeDef; export declare const spec: import("../types").MyNodeSpec<{ [x: string]: string; }, Button>; export declare const toMarkdown: MdFormatSerialize; export default spec;