diff options
Diffstat (limited to 'components/Box/Box.tsx')
| -rw-r--r-- | components/Box/Box.tsx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/components/Box/Box.tsx b/components/Box/Box.tsx deleted file mode 100644 index 8e463e5..0000000 --- a/components/Box/Box.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import Link from "next/link"; -import styles from "./Box.module.css"; - -export interface Props { - href: string; - text: string; -} - -const Box = ({ text, href }: Props): JSX.Element => ( - <Link href={href}> - <a className={styles.box}> - <span>{text}</span> - <span className={styles.arrow}>→</span> - </a> - </Link> -); - -export default Box; |
