2023-01-28 19:27:11 +01:00
|
|
|
/*
|
|
|
|
* These icons are kept out of the consolidated icons file because they use different props
|
|
|
|
* I think we should move them to the component where they are used, for I don't think
|
|
|
|
* they are used anywhere else, so there's little use in having them here
|
|
|
|
*/
|
|
|
|
export const RotateIconInner = ({ flipX = false }) => (
|
|
|
|
<path
|
|
|
|
strokeLinecap="round"
|
|
|
|
strokeLinejoin="round"
|
|
|
|
d="M3 10h10a8 8 0 018 8v2M3 10l6 6m-6-6l6-6"
|
|
|
|
transform={flipX ? 'scale(-1,1)' : ''}
|
|
|
|
transform-origin="12 12"
|
|
|
|
/>
|
|
|
|
)
|
2022-08-09 16:16:06 -05:00
|
|
|
|
2023-02-05 19:58:25 +01:00
|
|
|
const RotateIcon = () => {
|
2023-01-28 19:27:11 +01:00
|
|
|
return (
|
|
|
|
<svg
|
|
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
|
|
className="h-6 w-6"
|
|
|
|
fill="none"
|
|
|
|
viewBox="0 0 24 24"
|
|
|
|
stroke="currentColor"
|
|
|
|
strokeWidth={2}
|
|
|
|
>
|
|
|
|
<RotateIconInner></RotateIconInner>
|
|
|
|
</svg>
|
|
|
|
)
|
2022-08-09 16:16:06 -05:00
|
|
|
}
|
2023-02-05 19:58:25 +01:00
|
|
|
|
|
|
|
export default RotateIcon
|