@qn-pandora/pandora-visualization
Version:
Pandora 通用可视化库
22 lines (21 loc) • 608 B
TypeScript
import * as React from 'react';
import PropTypes from 'prop-types';
import BasicComponent from '../../../Base/BasicComponent';
export interface IFieldProps {
/**
* react-mobx-form中的项
*/
field?: string;
}
/**
* Form Field 封装
*/
export default class Field extends BasicComponent<IFieldProps, any> {
static contextTypes: {
mobxForm: PropTypes.Requireable<object>;
styleService: PropTypes.Requireable<object>;
};
handleStyleServiceFieldChange(e: any): void;
calcChildProps(): any;
render(): React.CElement<any, React.Component<any, any, any>>;
}