blob: 7e3ceaebca9aeac3185f495bac3622fb3e7d82d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import cx from 'clsx';
import * as React from 'react';
import { RotateCw } from 'react-feather';
import s from './RotateIcon.module.scss';
export function RotateIcon({ isRotating }: { isRotating: boolean }) {
const cls = cx(s.rotate, {
[s.isRotating]: isRotating,
});
return (
<span className={cls}>
<RotateCw width={16} />
</span>
);
}
|