@curvenote/schema
Version:
Schema and markdown parser for @curvenote/editor
22 lines (21 loc) • 618 B
TypeScript
import type { NodeDef } from '../types';
import type { MdFormatSerialize } from '../../serialize/types';
import type { Dynamic } 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;
}, Dynamic>;
export declare const toMarkdown: MdFormatSerialize;
export default spec;