github-button
v0.0.5
Published
github-button
Downloads
17
Readme
github-button
A GitHub button that opens a repository on a new tab. It's positioned at the viewport's top right corner.
Preview
Using this component
- Properties
- Put a script tag
<script type="module" src="https://unpkg.com/github-button@latest/dist/github-button/github-button.esm.js"></script>
in the head ofindex.html
- Use
<github-button user="user" repo="repo"></github-button>
anywhere in template, JSX, html etc