mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-20 22:05:14 +00:00
Add startOffset support
This commit is contained in:
@@ -88,7 +88,8 @@ export default function(props, container) {
|
||||
y,
|
||||
dx,
|
||||
dy,
|
||||
textAnchor
|
||||
textAnchor,
|
||||
startOffset
|
||||
} = props;
|
||||
|
||||
|
||||
@@ -121,6 +122,7 @@ export default function(props, container) {
|
||||
content,
|
||||
deltaX,
|
||||
deltaY,
|
||||
startOffset: (startOffset || 0).toString(),
|
||||
positionX: _.isNil(x) ? null : x,
|
||||
positionY: _.isNil(y) ? null : y
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user