define types of inputs
This commit is contained in:
parent
855eb165ab
commit
dfcadcff8a
@ -27,7 +27,14 @@ export default function Contact() {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
function ContactButton({ href, icon, label, className }) {
|
interface ContactButtonProps {
|
||||||
|
href: string;
|
||||||
|
icon: any;
|
||||||
|
label: string;
|
||||||
|
className?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
function ContactButton({ href, icon, label, className }: ContactButtonProps) {
|
||||||
return (
|
return (
|
||||||
<a
|
<a
|
||||||
href={href}
|
href={href}
|
||||||
|
Reference in New Issue
Block a user