mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-06 00:12:21 +00:00
Merge pull request #801 from jliuhtonen/master
Fix TypeScript type definitions for Pattern component props
This commit is contained in:
Vendored
+7
-4
@@ -215,13 +215,16 @@ export interface PathProps extends CommonPathProps {
|
||||
export const Path: React.ComponentClass<PathProps>;
|
||||
|
||||
export interface PatternProps {
|
||||
x1?: NumberProp,
|
||||
x2?: NumberProp,
|
||||
y1?: NumberProp,
|
||||
y2?: NumberProp,
|
||||
id: string,
|
||||
x?: NumberProp,
|
||||
y?: NumberProp,
|
||||
width?: NumberProp,
|
||||
height?: NumberProp,
|
||||
patternTransform?: string,
|
||||
patternUnits?: Units,
|
||||
patternContentUnits?: Units,
|
||||
viewBox?: string,
|
||||
preserveAspectRatio?: string
|
||||
}
|
||||
export const Pattern: React.ComponentClass<PatternProps>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user