|
|
@ -27,7 +27,7 @@ const SearchBox = ({ cancleIcon, searchIcon, placeholder, className }) => { |
|
|
|
// onBlur={() => setActiveSearchBox(false)}
|
|
|
|
// onBlur={() => setActiveSearchBox(false)}
|
|
|
|
type="text" |
|
|
|
type="text" |
|
|
|
placeholder={placeholder} |
|
|
|
placeholder={placeholder} |
|
|
|
className={`${className} text-xs focus:outline-none rounded border border-[#B5D6FF] focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20`} |
|
|
|
className={`${className} w-[100%] text-xs focus:outline-none rounded border focus:ring focus:ring-opacity-20`} |
|
|
|
/> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
); |
|
|
|
); |
|
|
@ -41,5 +41,6 @@ SearchBox.defaultProps = { |
|
|
|
|
|
|
|
|
|
|
|
placeholder: "دنبال چه چیزی هستید", |
|
|
|
placeholder: "دنبال چه چیزی هستید", |
|
|
|
|
|
|
|
|
|
|
|
className: "w-[100%] text-blue-400 bg-[#F9FBFF] placeholder-blue-300", |
|
|
|
className: |
|
|
|
|
|
|
|
"text-blue-400 bg-[#F9FBFF] placeholder-blue-300 border-[#B5D6FF] focus:border-blue-200 focus:ring-blue-200", |
|
|
|
}; |
|
|
|
}; |
|
|
|