2022-06-11 03:08:49 +00:00
|
|
|
import { FontAwesomeIcon, FontAwesomeIconProps } from "@fortawesome/react-fontawesome";
|
|
|
|
import { default as classNames } from "classnames";
|
|
|
|
import { memo } from "react";
|
2022-07-16 16:10:31 +00:00
|
|
|
import style from "./fontawesome.module.css"
|
2022-06-11 03:08:49 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Component which adds proper styling to {@link FontAwesomeIcon}.
|
|
|
|
*/
|
|
|
|
export const FestaIcon = memo((props: FontAwesomeIconProps) => {
|
|
|
|
return (
|
|
|
|
<FontAwesomeIcon
|
|
|
|
{...props}
|
2022-07-16 16:10:31 +00:00
|
|
|
className={classNames(style.festaIcon, props.className)}
|
2022-06-11 03:08:49 +00:00
|
|
|
/>
|
|
|
|
)
|
|
|
|
})
|
2022-07-16 14:12:29 +00:00
|
|
|
FestaIcon.displayName = "FestaIcon"
|