import PropTypes from "prop-types"; import React from "react"; /** * 渲染输入框 * @param Form * @param Input * @param Icon * @returns {InputRender} */ export default function renderInput(Form: any, Input: any, Icon: any): { new (props: {} | Readonly<{}>): { state: { value: any; editable: boolean; }; handleChange: (e: any) => void; check: () => void; checkValidate: (flag: any, obj: any) => void; edit: () => void; handleKeydown: (event: any) => void; formatCurrency: (money: any) => string; render(): JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly<{}> & Readonly<{ children?: React.ReactNode; }>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void; }; new (props: {}, context: any): { state: { value: any; editable: boolean; }; handleChange: (e: any) => void; check: () => void; checkValidate: (flag: any, obj: any) => void; edit: () => void; handleKeydown: (event: any) => void; formatCurrency: (money: any) => string; render(): JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly<{}> & Readonly<{ children?: React.ReactNode; }>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void; }; propTypes: { check: PropTypes.Requireable<(...args: any[]) => any>; value: PropTypes.Requireable; onChange: PropTypes.Requireable<(...args: any[]) => any>; name: PropTypes.Requireable; placeholder: PropTypes.Requireable; formItemClassName: PropTypes.Requireable; mesClassName: PropTypes.Requireable; isclickTrigger: PropTypes.Requireable; format: PropTypes.Requireable<(...args: any[]) => any>; }; defaultProps: { check: () => string; }; contextType?: React.Context | undefined; };