diff --git a/components/Labal.tsx b/components/Labal.tsx new file mode 100644 index 0000000..b424e01 --- /dev/null +++ b/components/Labal.tsx @@ -0,0 +1,15 @@ +import Link from 'next/link' + +const Label = ({ href, text }:LabelProps):JSX.Element => { + return href ? + {text} + : {text} +} + +interface LabelProps { + href?: string + text: string + icon?: string +} + +export default Label \ No newline at end of file