Skip to content

Commit 5fd6784

Browse files
committed
svg fill coloring
From Kimberly Luna <[email protected]> at vault-development#133
1 parent fa73872 commit 5fd6784

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ class SvgUri extends Component{
192192
return <G key={i} {...componentAtts}>{childs}</G>;
193193
case 'path':
194194
componentAtts = this.obtainComponentAtts(node, PATH_ATTS);
195-
return <Path key={i} {...componentAtts}>{childs}</Path>;
195+
return <Path key={i} {...componentAtts} fill={this.props.fill}>{childs}</Path>;
196196
case 'circle':
197197
componentAtts = this.obtainComponentAtts(node, CIRCLE_ATTS);
198198
return <Circle key={i} {...componentAtts}>{childs}</Circle>;

0 commit comments

Comments
 (0)