diff --git a/elements/Image.js b/elements/Image.js index a90aa958..01c67d2c 100644 --- a/elements/Image.js +++ b/elements/Image.js @@ -19,7 +19,7 @@ export default class SvgImage extends Shape { render() { const { props } = this; - const { preserveAspectRatio, x, y, width, height, href } = props; + const { preserveAspectRatio, x, y, width, height, xlinkHref, href = xlinkHref } = props; const modes = preserveAspectRatio.trim().split(spacesRegExp); return ( ; export interface TextPathProps extends TextSpecificProps { + xlinkHref?: string, href: string, startOffset?: NumberProp, method?: TextPathMethod, @@ -333,6 +335,7 @@ export interface TextPathProps extends TextSpecificProps { export const TextPath: React.ComponentClass; export interface UseProps extends CommonPathProps { + xlinkHref?: string, href: string, width?: string, height?: string,