1.1.7 • Published 12 months ago

react-ribbons v1.1.7

Weekly downloads
90
License
MIT
Repository
github
Last release
12 months ago

Installation

To install the package you can use NPM or Yarn and run the following command:

// Enter project folder
cd package

// NPM setup
npm install react-ribbons

// Yarn setup
yarn add react-ribbons

Example usage

import { RibbonContainer,  Right } from "react-ribbons";

const MyComponent = () => (
  <RibbonContainer className={style.demo}>
    <Ribbon
      side="right"
      type="edge"
      size="normal"
      backgroundColor="#cc0000"
      color="#ccffff"
      fontFamily="sans"
      withStripes
    >
      Foo bar
    </Ribbon>
    <p>
      Lorem ipsum dolor sit amet, consectetur adipiscing elit,
      sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
    </p>
  </RibbonContainer>
);

export default MyComponent;
1.1.1

1 year ago

1.1.0

1 year ago

1.1.7

12 months ago

1.1.6

12 months ago

1.1.5

12 months ago

1.1.4

12 months ago

1.1.3

1 year ago

1.1.2

1 year ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago