MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / UpgradeButton

Function UpgradeButton

apps/web/ui/Header/UpgradeButton/index.tsx:6–23  ·  view source on GitHub ↗
({
  className,
  InternalLink,
  label,
}: {
  className?: string;
  InternalLink: (args: any) => JSX.Element;
  label?: string;
})

Source from the content-addressed store, hash-verified

4import { FiZap } from '@react-icons/all-files/fi/FiZap';
5
6export default function UpgradeButton({
7 className,
8 InternalLink,
9 label,
10}: {
11 className?: string;
12 InternalLink: (args: any) => JSX.Element;
13 label?: string;
14}) {
15 return (
16 <InternalLink
17 className={classNames(styles.button, className)}
18 href="/plans"
19 >
20 <FiZap /> {label || 'Upgrade'}
21 </InternalLink>
22 );
23}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected