fix ellipse draw bug and fix shape props context

This commit is contained in:
Horcrux
2016-04-26 21:04:54 +08:00
parent 24dcc83a80
commit 1baf00c034
11 changed files with 29 additions and 52 deletions
+2 -3
View File
@@ -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);
});
}
}
}