amis
Version:
一种MIS页面生成工具
33 lines (32 loc) • 989 B
TypeScript
import React from 'react';
import { FormControlProps, FormBaseControl, FormControlSchema } from './Item';
import { IFormStore } from '../../store/form';
/**
* InputGroup
* 文档:https://baidu.gitee.io/amis/docs/components/form/input-group
*/
export interface InputGroupControlSchema extends FormBaseControl {
type: 'input-group';
/**
* FormItem 集合
*/
controls: Array<FormControlSchema>;
}
export interface InputGroupProps extends FormControlProps {
controls: Array<any>;
formStore: IFormStore;
}
interface InputGroupState {
isFocused: boolean;
}
export declare class InputGroup extends React.Component<InputGroupProps, InputGroupState> {
constructor(props: InputGroupProps);
handleFocus(): void;
handleBlur(): void;
renderControl(control: any, index: any, otherProps?: any): JSX.Element | null;
validate(): "" | string[];
render(): JSX.Element;
}
export default class InputGroupRenderer extends InputGroup {
}
export {};