MCPcopy Create free account
hub / github.com/nodejs/nodejs.org / DownloadLink

Function DownloadLink

apps/site/components/Downloads/Release/DownloadLink.tsx:13–24  ·  view source on GitHub ↗
({
  kind = 'installer',
  children,
})

Source from the content-addressed store, hash-verified

11type DownloadLinkProps = { kind?: DownloadKind };
12
13const DownloadLink: FC<PropsWithChildren<DownloadLinkProps>> = ({
14 kind = 'installer',
15 children,
16}) => {
17 const { release } = use(ReleaseContext);
18
19 return (
20 <DownloadLinkBase release={release} kind={kind}>
21 {children}
22 </DownloadLinkBase>
23 );
24};
25
26export default DownloadLink;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected