You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

22 lines
597 B

import React from "react";
const CustomSelectBox = ({ options }) => {
return (
<select className="customizeSelect rounded text-xs text-[#e0e0e0] py-2 bg-[#F9F9F9] focus:bg-white border-[#E0E0E0] focus:border-[#2483E1] focus:ring-transparent">
{options.map((option, index) => (
<option key={index}>{option.title}</option>
))}
</select>
);
};
export default CustomSelectBox;
CustomSelectBox.defaultProps = {
options: [
{ title: "میزان تحصیلات" },
{ title: "کارشناسی" },
{ title: "ارشد" },
{ title: "دکتری" },
],
};