antd-hz
Version:
华卓科技基于 antd 5.0 定制的组件库
14 lines (13 loc) • 529 B
JavaScript
"use client";
import React, { forwardRef } from 'react';
import Input from './Input';
import SearchOutlined from "@ant-design/icons/es/icons/SearchOutlined";
const InputWithSearchSuffix = /*#__PURE__*/forwardRef((props, ref) => ( /*#__PURE__*/React.createElement(Input, Object.assign({
suffix: /*#__PURE__*/React.createElement(SearchOutlined, null)
}, props, {
ref: ref
}))));
if (process.env.NODE_ENV !== 'production') {
InputWithSearchSuffix.displayName = 'InputWithSearchSuffix';
}
export default InputWithSearchSuffix;