Skip to content

Commit 6bb98e6

Browse files
committed
Update generated types
1 parent 1a9d1f4 commit 6bb98e6

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

generatedTypes/src/components/avatar/index.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ export declare type AvatarProps = Pick<AccessibilityProps, 'accessibilityLabel'>
4747
* The image source (external or assets)
4848
*/
4949
source?: ImageSourcePropType;
50+
/**
51+
* @deprecated use 'source' prop
52+
*/
5053
imageSource?: ImageSourcePropType;
5154
/**
5255
* Image props object
@@ -202,6 +205,9 @@ declare const _default: React.ComponentClass<Pick<AccessibilityProps, "accessibi
202205
* The image source (external or assets)
203206
*/
204207
source?: ImageSourcePropType | undefined;
208+
/**
209+
* @deprecated use 'source' prop
210+
*/
205211
imageSource?: ImageSourcePropType | undefined;
206212
/**
207213
* Image props object

generatedTypes/src/components/text/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export declare type TextProps = RNTextProps & TypographyModifiers & ColorsModifi
2929
textAlign?: string;
3030
style?: StyleProp<TextStyle | Animated.AnimatedProps<TextStyle>>;
3131
};
32+
export declare type TextPropTypes = TextProps;
3233
declare type PropsTypes = BaseComponentInjectedProps & ForwardRefInjectedProps & TextProps;
3334
/**
3435
* @description: A wrapper for Text component with extra functionality like modifiers support

0 commit comments

Comments
 (0)