import React from "react";
import { Input } from "antd";

const { Search } = Input;
export default ({ placeholder , onSearch }) => {
  return (
    <Search 
      placeholder={placeholder}
      enterButton={'搜索'}
      onSearch={onSearch}
      width="300px"
    ></Search>
  )
};
