fixed MUI tooltip error
This commit is contained in:
@@ -5,9 +5,11 @@ const ConfirmAction = ({ onClick, disabled }) => {
|
||||
return (
|
||||
<>
|
||||
<Tooltip title="تایید اقدام">
|
||||
<IconButton color="success" onClick={onClick} disabled={disabled}>
|
||||
<ThumbUpIcon />
|
||||
</IconButton>
|
||||
<span>
|
||||
<IconButton color="success" onClick={onClick} disabled={disabled}>
|
||||
<ThumbUpIcon />
|
||||
</IconButton>
|
||||
</span>
|
||||
</Tooltip>
|
||||
</>
|
||||
);
|
||||
|
||||
@@ -5,9 +5,11 @@ const ReferralAction = ({ onClick, disabled }) => {
|
||||
return (
|
||||
<>
|
||||
<Tooltip title="ارجاع درخواست">
|
||||
<IconButton color="info" onClick={onClick} disabled={disabled}>
|
||||
<Reply />
|
||||
</IconButton>
|
||||
<span>
|
||||
<IconButton color="info" onClick={onClick} disabled={disabled}>
|
||||
<Reply />
|
||||
</IconButton>
|
||||
</span>
|
||||
</Tooltip>
|
||||
</>
|
||||
);
|
||||
|
||||
@@ -5,9 +5,11 @@ const RejectAction = ({ onClick, disabled }) => {
|
||||
return (
|
||||
<>
|
||||
<Tooltip title="عدم تایید اقدام">
|
||||
<IconButton color="error" onClick={onClick} disabled={disabled}>
|
||||
<ThumbDownIcon />
|
||||
</IconButton>
|
||||
<span>
|
||||
<IconButton color="error" onClick={onClick} disabled={disabled}>
|
||||
<ThumbDownIcon />
|
||||
</IconButton>
|
||||
</span>
|
||||
</Tooltip>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user