17 lines
334 B
JavaScript
17 lines
334 B
JavaScript
import React from 'react';
|
|
import { Input } from 'antd';
|
|
|
|
const ExpandSearchBox = ({ onSearch, placeholder = "搜索会议..." }) => {
|
|
return (
|
|
<Input.Search
|
|
placeholder={placeholder}
|
|
onSearch={onSearch}
|
|
style={{ width: 300 }}
|
|
allowClear
|
|
enterButton
|
|
/>
|
|
);
|
|
};
|
|
|
|
export default ExpandSearchBox;
|