mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-13 03:13:47 +00:00
d81f5fcfe1
* chore: add new icons package and remove the old one * chore: update and consolidate imports * chore: missed import
17 lines
478 B
TypeScript
17 lines
478 B
TypeScript
import { IoLockClosedOutline } from 'react-icons/io5';
|
|
|
|
import { useFadeOutOnInactivity } from '../../hooks/useFadeOutOnInactivity';
|
|
import { cx } from '../../utils/styleUtils';
|
|
|
|
import style from './NavigationMenu.module.scss';
|
|
|
|
export default function ViewLockedIcon() {
|
|
const isLockIconShown = useFadeOutOnInactivity();
|
|
|
|
return (
|
|
<div className={cx([style.fadeable, style.lockIcon, !isLockIconShown && style.hidden])}>
|
|
<IoLockClosedOutline />
|
|
</div>
|
|
);
|
|
}
|