[ts] Fix types: svg width and height are optional

Closes #667
This commit is contained in:
Mikael Sand
2018-12-10 05:39:28 +02:00
committed by GitHub
parent e156844f98
commit 8a87f34e23
Vendored
+2 -2
View File
@@ -282,8 +282,8 @@ export interface StopProps {
export const Stop: React.ComponentClass<StopProps>;
export interface SvgProps extends ReactNative.ViewProperties {
width: NumberProp,
height: NumberProp,
width?: NumberProp,
height?: NumberProp,
viewBox?: string,
preserveAspectRatio?: string,
}