- change refresh icon & apply refreshing logic - apply validation in action btn in menu - preserve on customer info state upon refresh
30 lines
923 B
TypeScript
30 lines
923 B
TypeScript
interface RefershIconType {
|
|
className?: string;
|
|
onClick?: () => void;
|
|
dimension?: number;
|
|
}
|
|
|
|
const RefershIcon = ({ className, onClick, dimension }: RefershIconType) => {
|
|
return (
|
|
<svg
|
|
width={dimension || "18"}
|
|
height={dimension || "18"}
|
|
viewBox="0 0 18 18"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
className={className}
|
|
onClick={onClick}
|
|
>
|
|
<path
|
|
d="M1.5 7.5C1.5 7.5 1.59099 6.86307 4.22703 4.22703C6.86307 1.59099 11.1369 1.59099 13.773 4.22703C14.7069 5.16099 15.31 6.30054 15.5821 7.5M1.5 7.5V3M1.5 7.5H6M16.5 10.5C16.5 10.5 16.409 11.1369 13.773 13.773C11.1369 16.409 6.86307 16.409 4.22703 13.773C3.29307 12.839 2.69002 11.6995 2.41787 10.5M16.5 10.5V15M16.5 10.5H12"
|
|
stroke="#5F6C7B"
|
|
stroke-width="1.5"
|
|
stroke-linecap="round"
|
|
stroke-linejoin="round"
|
|
/>
|
|
</svg>
|
|
);
|
|
};
|
|
|
|
export default RefershIcon;
|