define types of inputs
This commit is contained in:
parent
855eb165ab
commit
dfcadcff8a
1 changed files with 8 additions and 1 deletions
|
@ -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}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue