mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Blueprint removed
This commit is contained in:
15
ui/v2.5/src/components/Shared/Icon.tsx
Normal file
15
ui/v2.5/src/components/Shared/Icon.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import React from 'react';
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||
import { IconName } from '@fortawesome/fontawesome-svg-core';
|
||||
|
||||
interface IIcon {
|
||||
icon: IconName;
|
||||
className?: string;
|
||||
color?: string;
|
||||
}
|
||||
|
||||
const Icon: React.FC<IIcon> = ({ icon, className, color }) => (
|
||||
<FontAwesomeIcon icon={icon} className={className} color={color} />
|
||||
);
|
||||
|
||||
export default Icon;
|
||||
Reference in New Issue
Block a user