don't use any type for icon (make vercel happy)
This commit is contained in:
parent
dfcadcff8a
commit
e05a663fbb
@ -1,6 +1,7 @@
|
|||||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
|
||||||
import { faPhone, faEnvelope } from '@fortawesome/free-solid-svg-icons'
|
import { faPhone, faEnvelope } from '@fortawesome/free-solid-svg-icons'
|
||||||
import { faGithub, faTelegram } from '@fortawesome/free-brands-svg-icons'
|
import { faGithub, faTelegram } from '@fortawesome/free-brands-svg-icons'
|
||||||
|
import { IconDefinition } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
|
||||||
export default function Contact() {
|
export default function Contact() {
|
||||||
return (
|
return (
|
||||||
@ -29,7 +30,7 @@ export default function Contact() {
|
|||||||
|
|
||||||
interface ContactButtonProps {
|
interface ContactButtonProps {
|
||||||
href: string;
|
href: string;
|
||||||
icon: any;
|
icon: IconDefinition;
|
||||||
label: string;
|
label: string;
|
||||||
className?: string;
|
className?: string;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user