Skip to content

Commit 5ce011a

Browse files
committed
removing TagsInput ref; updating snapshot test; generating types
1 parent 95236b0 commit 5ce011a

File tree

7 files changed

+331
-78
lines changed

7 files changed

+331
-78
lines changed

generatedTypes/components/avatar/index.d.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -219,14 +219,6 @@ declare const _default: React.ComponentClass<Pick<AccessibilityProps, "accessibi
219219
* Custom ribbon
220220
*/
221221
customRibbon?: JSX.Element | undefined;
222-
/**
223-
* Determine if to show online badge
224-
*/
225-
isOnline?: boolean | undefined;
226-
/**
227-
* AWAY, ONLINE, OFFLINE or NONE mode (if set to a value other then 'NONE' will override isOnline prop)
228-
*/
229-
status?: StatusModes | undefined;
230222
/**
231223
* Custom size for the Avatar
232224
*/

generatedTypes/components/badge/index.d.ts

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export declare type BadgeProps = ViewProps & TouchableOpacityProps & {
1313
*/
1414
backgroundColor?: string;
1515
/**
16-
* the badge size
16+
* the badge size (default, small)
1717
*/
1818
size: number;
1919
/**
@@ -63,17 +63,10 @@ export declare type BadgeProps = ViewProps & TouchableOpacityProps & {
6363
* Additional props passed to icon
6464
*/
6565
iconProps?: object;
66-
<<<<<<< HEAD
67-
=======
6866
/**
6967
* Custom element to render instead of an icon
7068
*/
7169
customElement?: JSX.Element;
72-
/**
73-
* Use to identify the badge in tests
74-
*/
75-
testId?: string;
76-
>>>>>>> e0247b77839e4bef2b99eae9a0fa356518e3c06f
7770
};
7871
/**
7972
* @description: Round colored badge, typically used to show a number
@@ -349,7 +342,7 @@ declare const _default: React.ComponentClass<ViewProps & TouchableOpacityProps &
349342
*/
350343
backgroundColor?: string | undefined;
351344
/**
352-
* the badge size
345+
* the badge size (default, small)
353346
*/
354347
size: number;
355348
/**
@@ -399,17 +392,10 @@ declare const _default: React.ComponentClass<ViewProps & TouchableOpacityProps &
399392
* Additional props passed to icon
400393
*/
401394
iconProps?: object | undefined;
402-
<<<<<<< HEAD
403-
=======
404395
/**
405396
* Custom element to render instead of an icon
406397
*/
407398
customElement?: JSX.Element | undefined;
408-
/**
409-
* Use to identify the badge in tests
410-
*/
411-
testId?: string | undefined;
412-
>>>>>>> e0247b77839e4bef2b99eae9a0fa356518e3c06f
413399
} & {
414400
useCustomTheme?: boolean | undefined;
415401
}, any> & typeof Badge;

generatedTypes/components/card/index.d.ts

Lines changed: 276 additions & 0 deletions
Large diffs are not rendered by default.

generatedTypes/components/progressBar/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ declare class ProgressBar extends PureComponent<Props, State> {
4848
};
4949
getProgressStyle(): {
5050
right: number | undefined;
51-
backgroundColor: any;
51+
backgroundColor: string;
5252
borderRadius: number;
5353
} | {
5454
right: number | undefined;
55-
backgroundColor: any;
55+
backgroundColor: string;
5656
borderBottomRightRadius: number;
5757
borderTopRightRadius: number;
5858
};

0 commit comments

Comments
 (0)