export function useTradeInput(props: any): { value: any; changed: boolean; onFocus: () => void; onInputChange: (v: any) => void; onInputChangeData: (val: any) => void; }; export default TradeInput; /** * - 奥创组件数据 */ export type UltronProps = { /** * - 组件实例数据 */ componentData: any; /** * - 异步提交 */ onChange: Function; /** * - 外层异步提交 */ onChangeData: Function; /** * - 表单提交 */ onSubmit: Function; /** * - 定制点 */ customization: Customization; /** * - 表单数据 */ fields: Fields; /** * - uuid */ uuid: string; /** * - events * * 表单数据 */ events: any; }; /** * - 输入数据 */ export type Fields = { /** * - 输入框标题 */ title: string; /** * - 输入框文本 */ value: string; /** * - 输入框占位符 */ placeholder: string; /** * - 最大长度 */ maxLength: string; /** * - 最短长度 */ minLength: string; /** * - 是否为textArea */ textArea: string; /** * - 键盘类型 * * 定制点数据 */ keyboardType: string; }; /** * - 定制点数据 */ export type Customization = any; /** * 奥创组件协议传入类型 * @typedef {Object} UltronProps - 奥创组件数据 * @property {Object} componentData - 组件实例数据 * @property {Function} onChange - 异步提交 * @property {Function} onChangeData - 外层异步提交 * @property {Function} onSubmit - 表单提交 * @property {Customization} customization - 定制点 * @property {Fields} fields - 表单数据 * @property {String} uuid - uuid * @property {Object} events - events * * 表单数据 * @typedef {Object} Fields - 输入数据 * @property {String} title - 输入框标题 * @property {String} value - 输入框文本 * @property {String} placeholder - 输入框占位符 * @property {String} maxLength - 最大长度 * @property {String} minLength - 最短长度 * @property {String} textArea - 是否为textArea * @property {String} keyboardType - 键盘类型 * * 定制点数据 * @typedef {Object} Customization - 定制点数据 * * @param {UltronProps} props */ declare function TradeInput(props: UltronProps): JSX.Element;