mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-28 13:03:12 +00:00
fix ellipse draw bug and fix shape props context
This commit is contained in:
+2
-3
@@ -61,11 +61,10 @@ class DefsUse extends Component{
|
||||
if (matched) {
|
||||
let template = map[matched[1] + ':' + this.props.svgId];
|
||||
if (template) {
|
||||
let props = {
|
||||
return cloneElement(template, {
|
||||
...this.props,
|
||||
href: null
|
||||
};
|
||||
return cloneElement(template, props);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user