Skip to content

suhascv/react-fork-corner

Repository files navigation

react-fork-corner

fork corner for react.js/next.js apps

NPM JavaScript Style Guide

Demo

Install

npm install --save react-fork-corner

Usage

import React, { Component } from 'react'

import ReactForkCorner from 'react-fork-corner'
import 'react-fork-corner/dist/index.css'


class Example extends Component {
  render() {
    return (<ReactForkCorner
          link={"https://github.com/suhascv/react-fork-corner"}
          cornerPosition={"tl"}
          size={"small"}
        />
        <ReactForkCorner link={"https://github.com/suhascv/react-fork-corner"} />
        <ReactForkCorner
          link={"https://github.com/suhascv/react-fork-corner"}
          cornerPosition={"bl"}
          size={"medium"}
          theme={"gitlab"}
        />
        <ReactForkCorner
          link={"https://github.com/suhascv/react-fork-corner"}
          cornerPosition={"br"}
          size={"large"}
        />)
  }
}

Result

Screenshot from 2021-03-22 19-41-44

License

MIT © suhascv

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published