react-svg-convert
v0.0.3
Published
Svg Converter react components
Readme
SVG Convert to React Components
Installation
npm i react-svg-convertor
yarn add react-svg-convertUsage
To read more, read Document
import SvgConvert from "react-svg-convert";
<SvgConvert
attr={{
viewBox: "0 0 24 24",
}}
child={[
{
tag: "path",
attr: {
d: "M6.25 8C6.25 7.58579....",
fill: "currentColor",
fillRule: "evenodd",
clipRule: "evenodd",
},
},
]}
/>Available props
| Prop | Type | Default |
| --------- | -------- | ------- |
| tag | String | svg |
| attr | Array | empty |
| child | Object | empty |
To read more, read Document
