|
|
|
@ -30,12 +30,15 @@ const Button = ({ |
|
|
|
|
upwardArrowBlack, |
|
|
|
|
downwardArrowBlack, |
|
|
|
|
circleArrow, |
|
|
|
|
title, |
|
|
|
|
onClick |
|
|
|
|
}) => { |
|
|
|
|
return ( |
|
|
|
|
<button |
|
|
|
|
className={`flex items-center border-none cursor-pointer py-2.5 px-2 text-sm ${buttonBgColor} ${buttonTextColor} ${buttonBorder} ${buttonBorderColor} ${buttonBorderRadius}`} |
|
|
|
|
onClick={onClick} |
|
|
|
|
> |
|
|
|
|
اطلاعات بیشتر |
|
|
|
|
{title} |
|
|
|
|
{leftArrowWhite && ( |
|
|
|
|
<img |
|
|
|
|
src={whiteLeftArrow} |
|
|
|
@ -136,4 +139,5 @@ Button.defaultProps = { |
|
|
|
|
upwardArrowBlack: false, |
|
|
|
|
downwardArrowBlack: false, |
|
|
|
|
circleArrow: false, |
|
|
|
|
title: 'اطلاعات بیشتر' |
|
|
|
|
}; |
|
|
|
|