react-fork-corner
v1.0.1
Published
fork corner for react.js/next.js apps
Downloads
3
Readme
react-fork-corner
fork corner for react.js/next.js apps
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
License
MIT © suhascv