diff --git a/elements/TextPath.js b/elements/TextPath.js index a286ac1d..ee82729d 100644 --- a/elements/TextPath.js +++ b/elements/TextPath.js @@ -15,7 +15,7 @@ export default class extends Shape { static propTypes = textPathProps; render() { - let {children, href, startOffset, method, spacing, side, alignmentBaseline, ...props} = this.props; + let {children, href, startOffset, method, spacing, side, alignmentBaseline, midLine, ...props} = this.props; if (href) { let matched = href.match(idExpReg); @@ -23,7 +23,7 @@ export default class extends Shape { href = matched[1]; startOffset = `${startOffset || 0}`; return