🧡 A collection of simple shapes built with CSS for use as icons, buttons, graphics, etc..
🔻 A collection of simple shapes built with CSS for use as icons, buttons, graphics, etc…
npm install react-native-shapes
import { Chevron, Heart, Triangle } from 'react-native-shapes'
type
prop of thin (default) or thick)type
prop of equilateral (default) or isosceles)Name | Type | Description |
---|---|---|
Color | String | Changes the color of the shape. Defaults to black. |
Rotate | Int | Rotates the shape clockwise. |
Size | Float | Changes the size of the shape. Defaults to 1. |
Style | Object | Style overrides to spread onto the outer wrapping View |
react-native-shapes is MIT licensed