Merge pull request #25 from magicismight/propInPercents

support percentage props for elements
This commit is contained in:
Horcrux
2016-04-27 16:54:17 +08:00
60 changed files with 1128 additions and 753 deletions

View File

@@ -25,6 +25,7 @@ class ViewBox extends Component{
x = viewbox.x;
y = viewbox.y;
}
return <G
{...this.props}
x={x}