jamis
Version:
一种支持通过JSON配置方式生成页面的组件库
11 lines (10 loc) • 479 B
TypeScript
import React from 'react';
import type { JSONSchema } from 'jamis-core';
import type { SchemaEditorItemCommonProps } from './types';
export declare class SchemaEditorItemCommon<P extends SchemaEditorItemCommonProps = SchemaEditorItemCommonProps, S = any> extends React.Component<P, S> {
handleTypeChange(type: any): void;
handlePropsChange(newValue: JSONSchema): void;
handleBeforeSubmit(form: any): any;
renderCommon(): JSX.Element;
render(): JSX.Element;
}