From 94071d7ce16c56641d67d488e2bac6be84ffe731 Mon Sep 17 00:00:00 2001
From: 简律纯 <i@jyunko.cn>
Date: Fri, 3 Nov 2023 21:17:06 +0800
Subject: chore: delete useless files

---
 .../with-create-react-app/packages/ui/src/Link.tsx   | 20 --------------------
 1 file changed, 20 deletions(-)
 delete mode 100644 examples/with-create-react-app/packages/ui/src/Link.tsx

(limited to 'examples/with-create-react-app/packages/ui/src/Link.tsx')

diff --git a/examples/with-create-react-app/packages/ui/src/Link.tsx b/examples/with-create-react-app/packages/ui/src/Link.tsx
deleted file mode 100644
index 416bac8..0000000
--- a/examples/with-create-react-app/packages/ui/src/Link.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-import * as React from "react";
-
-interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
-  children: React.ReactNode;
-  href: string;
-}
-
-export const Link = (props: LinkProps) => {
-  const { children, href, ...rest } = props;
-
-  if (rest.target === "_blank") {
-    rest.rel = "noopener noreferrer";
-  }
-
-  return (
-    <a href={href} {...rest}>
-      {children}
-    </a>
-  );
-};
-- 
cgit v1.2.3-70-g09d2

