fork corner for react.js/next.js apps
npm install --save react-fork-corner
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"}
/>)
}
}
MIT © suhascv