mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 05:19:39 +02:00
19 lines
313 B
TypeScript
19 lines
313 B
TypeScript
|
import clsx from 'clsx';
|
||
|
|
||
|
import styles from './Icon.module.css';
|
||
|
|
||
|
interface Props {
|
||
|
iconClass: string;
|
||
|
}
|
||
|
|
||
|
export function Icon({ iconClass }: Props) {
|
||
|
return (
|
||
|
<i
|
||
|
role="img"
|
||
|
className={clsx('fa', iconClass, styles.menuIcon)}
|
||
|
aria-label="itemIcon"
|
||
|
aria-hidden="true"
|
||
|
/>
|
||
|
);
|
||
|
}
|