Skip to content

Latest commit

 

History

History
54 lines (43 loc) · 2.34 KB

README.md

File metadata and controls

54 lines (43 loc) · 2.34 KB

NPM Version NPM Downloads Coveralls

CI Build Maintainability Semantic Release Code Style: Prettier

@ribbon-studios/ribbon

Preview

Example

Usage

import { Ribbon } from '@ribbon-studios/ribbon';

export function MyApp() {
  return (
    <div>
      My super cool content.
      <Ribbon>Local</Ribbon>
    </div>
  );
}

Properties

Name Description Optional?
children The contents of the ribbon Yes
color The font color Yes (defaults to black)
backgroundColor The background color Yes (defaults to white)
position The positioning of the ribbon Yes (defaults to top-right)

Want to Contribute?