gh-corners
v1.0.8
Published
[![npm version](https://badge.fury.io/js/gh-corners.svg)](https://badge.fury.io/js/gh-corners) [![npm](https://img.shields.io/npm/dt/gh-corners.svg?logo=npm)](https://www.npmjs.com/package/gh-corners) [![npm](https://img.shields.io/bundlephobia/minzip/gh-
Downloads
15
Readme
Installation
Package
import 'gh-corners';
unpkg.com CDN:
<script type="module" src="https://unpkg.com/gh-corners@latest"></script>
HTML
<github-corners target="__blank" position="fixed" href="https://github.com/hunghg255"></github-corners>
Reactjs
npm i react-gh-corners@latest
Use
import { GithubCorners } from 'react-gh-corners';
// Nextjs only CSR
const GithubCorners = dynamic(() => import('react-gh-corners').then((m) => m.GithubCorners), {
ssr: false,
});
const App = () => {
return (
<GithubCorners position='right' href='/' />
);
};