| 7 | import type { FC } from 'react'; |
| 8 | |
| 9 | const 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 | |
| 20 | export default CrossLink; |
nothing calls this directly
no outgoing calls
no test coverage detected