New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

react-github-mark

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-github-mark

React component showing GitHub mark (aka octocat) fixed in a screen corner.

latest
Source
npmnpm
Version
1.1.1
Version published
Maintainers
1
Created
Source

react-github-mark

Travis npm package Coveralls

About

react-github-mark is an npm package that simply displays octocat in a screen corner which contains a link to your repo (example). Package is bootstrapped using nwb.

Installing

npm i react-github-mark

Usage

Basic

import GithubMark from 'react-github-mark';
...
<GithubMark href="https://www.example.com" />

Props

<GithubMark
  ...
  href="https://www.example.com" // mandatory
  position="top-left"
  position="top-right"
  position="bottom-left"
  position="bottom-right" // default
  padding="8px-8px" // default
  light
  light={false} // default
  ...
/>

Notes

According to this thread in order to use this package you have to use webpack and appropriate file-loader configuration in place (which is almost always is true anyway).

License

react-github-mark is distributed under the MIT-LICENSE.

Keywords

react-component

FAQs

Package last updated on 01 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts