Pedram Added New Props To Button

master
Pedram Keshavarzi 3 years ago
parent 3eea58fba5
commit 51733b9593
  1. 6
      src/components/Button/index.js

@ -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: 'اطلاعات بیشتر'
};

Loading…
Cancel
Save