Add ReactNative.ViewProps extension

This commit is contained in:
Николай Вовк
2019-09-07 15:03:59 +03:00
committed by Mikael Sand
parent 766018a9e8
commit 8ee4ae17ac
Vendored
+3 -3
View File
@@ -407,15 +407,15 @@ interface XMLElement {
export function parse(xml: string): XMLElement | null export function parse(xml: string): XMLElement | null
interface AstProps { interface AstProps extends ReactNative.ViewProps {
ast: XMLElement, override: any, children?: any ast: XMLElement, override: any, children?: any
} }
export const SvgAst: React.FunctionComponent<AstProps> export const SvgAst: React.FunctionComponent<AstProps>
interface SvgXmlProps { override?: any, xml: string } interface SvgXmlProps extends ReactNative.ViewProps { override?: any, xml: string }
export const SvgXml: React.FunctionComponent<SvgXmlProps> export const SvgXml: React.FunctionComponent<SvgXmlProps>
export const SvgFromXml: React.ComponentClass<SvgXmlProps> export const SvgFromXml: React.ComponentClass<SvgXmlProps>
interface SvgUriProps { uri: string } interface SvgUriProps extends ReactNative.ViewProps { uri: string }
export const SvgUri: React.FunctionComponent<SvgUriProps> export const SvgUri: React.FunctionComponent<SvgUriProps>
export const SvgFromUri: React.ComponentClass<SvgUriProps> export const SvgFromUri: React.ComponentClass<SvgUriProps>