import "react";
import { jsx } from "../../../node_modules/.pnpm/@emotion_react@11.10.4_q4mq7tnhdumujvomvw24zx33y4/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js";
import Input$1 from "../../../node_modules/.pnpm/@arco-design_web-react@2.40.1_biqbaboplfbrettd7655fr4n2y/node_modules/@arco-design/web-react/es/Input/input.js";
const Input = ({
  type,
  ...props
}) => {
  const restProps = {
    placeholder: `\u8BF7\u8F93\u5165${props.label || props.title}`,
    ...type === "search" ? {
      placeholder: `\u8BF7\u641C\u7D22${props.title}`,
      type: "search"
    } : {},
    ...props
  };
  return /* @__PURE__ */ jsx(Input$1, {
    allowClear: true,
    ...restProps
  });
};
export {
  Input
};
//# sourceMappingURL=Input.js.map
