gh-ribbon

0.0.7 • Public • Published

github-ribbon

$ yarn add gh-ribbon
import React from 'react';
import Ribbon from 'gh-ribbon';
 
const App = () => (
  <div>
    <Ribbon link="http://github.com/blakeguilloud" color="red" alt="Fork me!" position="right" />
    Some things and some stuff
  </div>
);
 
export default App;

Props

color

  • red
  • green
  • darkblue
  • orange
  • white
  • gray / grey

position

  • left
  • right

link

  • URL to the project's Github repo

alt

  • alt tag for when things don't go as planned

Readme

Keywords

none

Package Sidebar

Install

npm i gh-ribbon

Weekly Downloads

0

Version

0.0.7

License

MIT

Unpacked Size

249 kB

Total Files

8

Last publish

Collaborators

  • fbguillo