mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-23 07:04:22 +00:00
13 lines
No EOL
376 B
TypeScript
13 lines
No EOL
376 B
TypeScript
import { FontAwesomeIcon, FontAwesomeIconProps } from "@fortawesome/react-fontawesome";
|
|
import { default as classNames } from "classnames";
|
|
|
|
export function FestaIcon(props: FontAwesomeIconProps) {
|
|
const newClassName = classNames(props.className, "icon")
|
|
|
|
return (
|
|
<FontAwesomeIcon
|
|
{...props}
|
|
className={newClassName}
|
|
/>
|
|
)
|
|
} |