import React from "react";
import SearchableSelect from "@/components/ui/SearchableSelect";

interface OptionStyleSelectProps {
  optionstyle: any;
  setoptionstyle: (value: any) => void;
}

const OptionStyleSelect: React.FC<OptionStyleSelectProps> = ({
  optionstyle,
  setoptionstyle,
}) => {
  return (
    <div className="group">
      <SearchableSelect
        label="Option Style"
        apiUrl="/api/searchabledropdown/optionstyle"
        value={optionstyle}
        onChange={setoptionstyle}
        placeholder="Select option style..."
      />
    </div>
  );
};

export default OptionStyleSelect;
