mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Merge pull request #26828 from prokopcm/master
Expo: Add support for missing height and width Svg.Use props
This commit is contained in:
@@ -478,6 +478,7 @@ async () => {
|
||||
/>
|
||||
</Svg.G>
|
||||
<Svg.Use href="#shape" x="20" y="0" />
|
||||
<Svg.Use href="#shape" x="20" y="0" width="20" height="20"/>
|
||||
<Svg.Symbol id="symbol" viewBox="0 0 150 110" width="100" height="50">
|
||||
<Svg.Circle cx="50" cy="50" r="40" strokeWidth="8" stroke="red" fill="red"/>
|
||||
<Svg.Circle cx="90" cy="60" r="40" strokeWidth="8" stroke="green" fill="white"/>
|
||||
|
||||
Vendored
+2
@@ -2076,6 +2076,8 @@ export interface SvgUseProps extends SvgCommonProps {
|
||||
href: string;
|
||||
x: number | string;
|
||||
y: number | string;
|
||||
width?: number | string;
|
||||
height?: number | string;
|
||||
}
|
||||
|
||||
export interface SvgSymbolProps extends SvgCommonProps {
|
||||
|
||||
Reference in New Issue
Block a user