gh-corners

1.0.8 • Public • Published

npm version npm npm All Contributors

Live Demo

Installation

NPM

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

react-gh-corners

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='/' />
  );
};

Readme

Keywords

none

Package Sidebar

Install

npm i gh-corners

Weekly Downloads

5

Version

1.0.8

License

ISC

Unpacked Size

19.6 kB

Total Files

6

Last publish

Collaborators

  • hunghg255