react-gh-corners
TypeScript icon, indicating that this package has built-in type declarations

1.3.6 • Public • Published

React Github Corners

npm version npm npm All Contributors

Live Demo

Installation

NPM

Install

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

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>

Readme

Keywords

none

Package Sidebar

Install

npm i react-gh-corners

Weekly Downloads

27

Version

1.3.6

License

ISC

Unpacked Size

399 kB

Total Files

9

Last publish

Collaborators

  • hunghg255