@berlitz/link
v3.2.0
Published
Link component for the Max Design System
Downloads
11,821
Readme
Link
Export Berlitz's awesome Link styles. Comes with a Beautiful Shamrock Green underline. Amazing Pointer Cursor with State of the Art Hover and Focus events. Import the package and add the styles onto your link!
Installation
yarn add @berlitz/link
Usage
Simply Import the styles, create a link and away you go.
StyledComponents Example
import { linkStyle, Link } from '@berlitz/link'
import { Link as GatsbyLink } from 'gatsby'
const StyledLink = styled(GatsbyLink)`
${linkStyle};
`
const App = () => (
<>
<StyledLink>Read more</StyledLink>
...or...
<Link>Read more</Link>
</>
)
When to use this component
Include our Berlitz theme Link styles on your link!