jamis
Version:
一种支持通过JSON配置方式生成页面的组件库
9 lines (8 loc) • 413 B
TypeScript
import type { SchemaObject } from './types';
export declare const defineSchema: (schema: SchemaObject) => SchemaObject;
export declare const defineSchemas: (schemas: SchemaObject[]) => SchemaObject[];
/**
* 是否是日期类型的schema
*/
export declare const isCalendarSchema: (schemaType?: string) => boolean | "" | undefined;
export declare const isButtonType: (type?: string) => boolean | "" | undefined;