mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-19 05:25:10 +00:00
change circle radius percentage calculation
Change circle radius percentage calculation. Add example for percentage props for shape. Remove unused document ref
This commit is contained in:
@@ -15,10 +15,10 @@ class LineExample extends Component{
|
||||
width="100"
|
||||
>
|
||||
<Line
|
||||
x1="0"
|
||||
y1="0"
|
||||
x2="100"
|
||||
y2="100"
|
||||
x1="10%"
|
||||
y1="10%"
|
||||
x2="90%"
|
||||
y2="90%"
|
||||
stroke="red"
|
||||
strokeWidth="2"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user