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

Function CrossLink

apps/site/components/Common/CrossLink.tsx:9–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7import type { FC } from 'react';
8
9const CrossLink: FC<Omit<CrossLinkProps, 'as' | 'label'>> = props => {
10 const t = useTranslations();
11 return (
12 <BaseCrossLink
13 label={t(`components.common.pagination.${props.type}`)}
14 as={Link}
15 {...props}
16 />
17 );
18};
19
20export default CrossLink;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected