text: import React from "react";
  import Select from "react-select";
  import { Wrap } from "../../StyledComponents";
  
  const SelectBox = (props) => {
      const { name, value, options, onChange, placeholder } = props
      return (
          <Wrap className='filter__select'>
              <Select
                  options={options}
                  name={name}
                  value={value}
                  onChange={(e) => { onChange(name, e) }}
                  placeholder={placeholder}
              />
          </Wrap>
      )
  }
  
  export default SelectBox;