Click to expand workaround example
**components/StyledLink.js** ```javascript import Link from 'next/link' import styled from 'styled-components' const StyledLink = ({ as, children, className, href }) => ( {children} ) export default styled(StyledLink)` color: #0075e0; text-decoration: none; transition: all 0.2s ease-in-out; &:hover { color: #40a9ff; } &:focus { color: #40a9ff; outline: none; border: 0; } ` ``` **pages/index.js** ```javascript import StyledLink from '../components/StyledLink' export default () => ( First post ) ```