diff --git a/src/index.js b/src/index.js index a99713c..f559658 100644 --- a/src/index.js +++ b/src/index.js @@ -33,6 +33,7 @@ class SVGInline extends Component { component, svg, fill, + stroke, width, accessibilityLabel, accessibilityDesc, @@ -87,6 +88,11 @@ class SVGInline extends Component { ? ` fill="${ fill }"` : "" ) + + ( + stroke + ? ` stroke="${ stroke }"` + : "" + ) + ( width || height ? " style=\"" + @@ -138,6 +144,7 @@ SVGInline.propTypes = { ]), svg: PropTypes.string.isRequired, fill: PropTypes.string, + stroke: PropTypes.string, cleanup: PropTypes.oneOfType([ PropTypes.bool, PropTypes.array,