react-lil-shape
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

Lil' Component that brings svg shapes to your project. Typescript, Rollup.

Codesandbox example

Use it

return (
    <>
        <Shape.Circle />
        <Shape.Circle transforms="rotate(90deg)" />
        <Shape.Square />
        <Shape sides={5} />
        <Shape sides={6} />
    </>
);

Props

Prop name Accepts Default
className string null
fill string currentColor
size number 69
sides number 3
transforms string null

Install

npm i react-lil-shape

Readme

Keywords

none

Package Sidebar

Install

npm i react-lil-shape

Weekly Downloads

1

Version

0.0.3

License

ISC

Unpacked Size

47.7 kB

Total Files

10

Last publish

Collaborators

  • polmoneys