1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-23 15:14:23 +00:00
festa/components/extensions/FestaIcon.tsx

13 lines
376 B
TypeScript
Raw Normal View History

2022-06-01 03:04:15 +00:00
import { FontAwesomeIcon, FontAwesomeIconProps } from "@fortawesome/react-fontawesome";
2022-06-03 01:56:43 +00:00
import { default as classNames } from "classnames";
2022-06-01 03:04:15 +00:00
export function FestaIcon(props: FontAwesomeIconProps) {
const newClassName = classNames(props.className, "icon")
return (
<FontAwesomeIcon
{...props}
className={newClassName}
/>
)
}