mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-06 21:13:17 +00:00
Add ReactNative.ViewProps extension
This commit is contained in:
committed by
Mikael Sand
parent
766018a9e8
commit
8ee4ae17ac
6
index.d.ts
vendored
6
index.d.ts
vendored
@@ -407,15 +407,15 @@ interface XMLElement {
|
||||
|
||||
export function parse(xml: string): XMLElement | null
|
||||
|
||||
interface AstProps {
|
||||
interface AstProps extends ReactNative.ViewProps {
|
||||
ast: XMLElement, override: any, children?: any
|
||||
}
|
||||
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 SvgFromXml: React.ComponentClass<SvgXmlProps>
|
||||
|
||||
interface SvgUriProps { uri: string }
|
||||
interface SvgUriProps extends ReactNative.ViewProps { uri: string }
|
||||
export const SvgUri: React.FunctionComponent<SvgUriProps>
|
||||
export const SvgFromUri: React.ComponentClass<SvgUriProps>
|
||||
|
||||
Reference in New Issue
Block a user