Skip to content

Commit bf01117

Browse files
committed
Update button iconSource doc description
1 parent 9d53ae1 commit bf01117

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

generatedTypes/components/button/index.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export declare type ButtonPropTypes = TouchableOpacityProps & TypographyModifier
2424
*/
2525
color?: string;
2626
/**
27-
* Icon image source
27+
* Icon image source or a callback function that returns a source
2828
*/
2929
iconSource?: object | number | Function;
3030
/**
@@ -358,7 +358,7 @@ declare const _default: React.ComponentClass<(Pick<import("react-native").Toucha
358358
*/
359359
color?: string | undefined;
360360
/**
361-
* Icon image source
361+
* Icon image source or a callback function that returns a source
362362
*/
363363
iconSource?: number | object | Function | undefined;
364364
/**
@@ -515,7 +515,7 @@ declare const _default: React.ComponentClass<(Pick<import("react-native").Toucha
515515
*/
516516
color?: string | undefined;
517517
/**
518-
* Icon image source
518+
* Icon image source or a callback function that returns a source
519519
*/
520520
iconSource?: number | object | Function | undefined;
521521
/**
@@ -672,7 +672,7 @@ declare const _default: React.ComponentClass<(Pick<import("react-native").Toucha
672672
*/
673673
color?: string | undefined;
674674
/**
675-
* Icon image source
675+
* Icon image source or a callback function that returns a source
676676
*/
677677
iconSource?: number | object | Function | undefined;
678678
/**
@@ -829,7 +829,7 @@ declare const _default: React.ComponentClass<(Pick<import("react-native").Toucha
829829
*/
830830
color?: string | undefined;
831831
/**
832-
* Icon image source
832+
* Icon image source or a callback function that returns a source
833833
*/
834834
iconSource?: number | object | Function | undefined;
835835
/**

src/components/button/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export type ButtonPropTypes = TouchableOpacityProps &
4646
*/
4747
color?: string;
4848
/**
49-
* Icon image source
49+
* Icon image source or a callback function that returns a source
5050
*/
5151
iconSource?: object | number | Function;
5252
/**

0 commit comments

Comments
 (0)