0.0.3 • Published 2 years ago

nextjs-anchor v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

nextjs-anchor

Simple library with a wrapper for the NextJs Link, TailwindCss compatible

NPM JavaScript Style Guide

Install

yarn add nextjs-anchor # Yarn

npm install --save nextjs-anchor # NPM

Usage

import React, { Component } from 'react'

import { Anchor } from 'nextjs-anchor'

class Example extends Component {
  render() {
    return <Anchor href='/about'>Go to about</Anchor>
  }
}

License

MIT © matteociasco