1
1
mirror of https://github.com/primer/css.git synced 2024-11-28 04:43:05 +03:00
css/docs/src/Link.js

9 lines
208 B
JavaScript
Raw Normal View History

2018-12-05 02:59:11 +03:00
import NextLink from 'next/link'
import {Link as PrimerLink} from '@primer/components'
export default ({href, ...rest}) => (
<NextLink href={href}>
<PrimerLink href={href} {...rest} />
</NextLink>
)