imetting/frontend/src/components/ExpandSearchBox.jsx

17 lines
334 B
React
Raw Normal View History

2026-04-08 09:29:06 +00:00
import React from 'react';
import { Input } from 'antd';
2026-03-26 06:55:12 +00:00
const ExpandSearchBox = ({ onSearch, placeholder = "搜索会议..." }) => {
return (
2026-03-26 06:55:12 +00:00
<Input.Search
placeholder={placeholder}
onSearch={onSearch}
style={{ width: 300 }}
allowClear
enterButton
/>
);
};
export default ExpandSearchBox;