Skip to content

Commit f1b1c70

Browse files
authored
fix Icon tintColor type (#1884)
1 parent 00cea68 commit f1b1c70

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export declare type IconProps = ImageProps & MarginModifiers & {
1313
/**
1414
* the icon tint
1515
*/
16-
tintColor?: string;
16+
tintColor?: string | null;
1717
/**
1818
* the icon size
1919
*/
@@ -41,7 +41,7 @@ declare const _default: React.ComponentClass<ImageProps & Partial<Record<"margin
4141
/**
4242
* the icon tint
4343
*/
44-
tintColor?: string | undefined;
44+
tintColor?: string | null | undefined;
4545
/**
4646
* the icon size
4747
*/

src/components/icon/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export type IconProps = ImageProps &
1818
/**
1919
* the icon tint
2020
*/
21-
tintColor?: string;
21+
tintColor?: string | null;
2222
/**
2323
* the icon size
2424
*/

0 commit comments

Comments
 (0)