1.0.3 • Published 1 year ago

@rain-cafe/ribbon v1.0.3

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

NPM Version NPM Downloads Coveralls

CI Build Maintainability Semantic Release Code Style: Prettier

@rain-cafe/ribbon

Preview

Example

Usage

import { Ribbon } from '@rain-cafe/ribbon';

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

Properties

NameDescriptionOptional?
childrenThe contents of the ribbonYes
colorThe font colorYes (defaults to black)
backgroundColorThe background colorYes (defaults to white)
positionThe positioning of the ribbonYes (defaults to top-right)

Want to Contribute?

1.0.3

1 year ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago