mirror of
https://github.com/primer/css.git
synced 2024-11-28 04:43:05 +03:00
9 lines
208 B
JavaScript
9 lines
208 B
JavaScript
|
import NextLink from 'next/link'
|
||
|
import {Link as PrimerLink} from '@primer/components'
|
||
|
|
||
|
export default ({href, ...rest}) => (
|
||
|
<NextLink href={href}>
|
||
|
<PrimerLink href={href} {...rest} />
|
||
|
</NextLink>
|
||
|
)
|