import { Button, Input } from 'antd'; import React, { useRef } from 'react'; import FormItem from '../FormItem/FormItem' import { getItemProps } from "../../utils" import schema from "./schema" const InputSearchWapper = (item: any) => { const data: any = getItemProps(schema, item) const { FormItemProps, ControlProps, btnAttr } = data; const Ref: any = useRef(); const { placeholder } = ControlProps const { enterButtonText, onClick, loading } = btnAttr return (
); }; export default InputSearchWapper;