mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-08 09:10:44 +00:00
Add ReactNative.ViewProps extension
This commit is contained in:
committed by
Mikael Sand
parent
766018a9e8
commit
8ee4ae17ac
Vendored
+3
-3
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user