npm.io
3.2.0 • Published 3 years ago

@berlitz/link

Licence
MIT
Version
3.2.0
Deps
0
Size
11 kB
Vulns
0
Weekly
0

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!