enterprise-loyalty-components
Version:
企业版忠诚度组件库
25 lines (19 loc) • 569 B
TypeScript
import * as React from 'react';
export interface ICustomProperty {
id: number;
name: string;
dataType: string;
}
export interface IProps {
value: string;
fqn?: any;
placeholder?: string;
disabled?: boolean;
functions: string[]; // 内置函数,不区分大小写
declarations: string[]; // 基础类型声明,区分大小写
customProperties?: ICustomProperty[];
errorMessage?: string;
onRef(componentInstance: any): void;
onChange(v: string, type?: string): void;
}
export default function ExpressEditor(props: IProps): JSX.Element;