react-simple-triangle
Responsive triangle rendering react component.
The motivation behind this project/package emerged after attempts to apply a glow to the side(segments) composing a triangle.
The component will fill the width of the container element.
Installation
$npm install --save react-simple-triangle
or yarn add react-simple-triangle
or as an UMD module
Usage
You can use it by writing in node
;
or
const Triangle = default;
(if using UMD)
const Triangle = reactSimpleTriangleTriangle
and place it where ever you need it. None of the props is necessary.
ReactDOM;
Licence
This project is licensed under the terms of the MIT license.