Skip to content

Commit 5e9f4b7

Browse files
raduflpiRoachie
authored andcommitted
[TS] Adjust TextProps to extend RN TextProperties (react-native-elements#808)
1 parent 07e5c9c commit 5e9f4b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import {
1919
ViewProperties,
2020
TextInputProperties,
2121
TextInput,
22+
TextProperties,
2223
StatusBarProperties,
2324
KeyboardType,
2425
KeyboardTypeIOS,
@@ -56,7 +57,7 @@ export interface AvatarIcon extends IconObject {
5657
iconStyle?: StyleProp<TextStyle>;
5758
}
5859

59-
export interface TextProps {
60+
export interface TextProps extends TextProperties {
6061
/**
6162
* font size 40
6263
*/

0 commit comments

Comments
 (0)