Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Remove unused file

Tomas Valenta00ca7f94fa64
diff --git a/apps/docs/src/components/Anchor.tsx b/apps/docs/src/components/Anchor.tsx
deleted file mode 100644
index b2d00ca2a..000000000
--- a/apps/docs/src/components/Anchor.tsx
+++ /dev/null
@@ -1,41 +0,0 @@
-import { css } from '@stitches/core'
-import { generateClassNames } from '@supabase/auth-ui-shared'
-import { Appearance } from '../../types'
-
-const anchorHTMLAttributes = css({
- fontFamily: '$bodyFontFamily',
- fontSize: '$baseBodySize',
- marginBottom: '$anchorBottomMargin',
- color: '$anchorTextColor',
- display: 'block',
- textAlign: 'center',
- textDecoration: 'underline',
- '&:hover': {
- color: '$anchorTextHoverColor',
- },
-})
-
-interface LabelProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
- children: React.ReactNode
- appearance?: Appearance
-}
-
-const Anchor: React.FC<LabelProps> = ({ children, appearance, ...props }) => {
- const classNames = generateClassNames(
- 'anchor',
- anchorHTMLAttributes(),
- appearance
- )
-
- return (
- <a
- {...props}
- style={appearance?.style?.anchor}
- className={classNames.join(' ')}
- >
- {children}
- </a>
- )
-}
-
-export { Anchor }