Skip to content

Commit 9c9e2de

Browse files
committed
fix(image-types): add missing srcSet prop on .d.ts file
1 parent aece29f commit 9c9e2de

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Libraries/Image/Image.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,13 @@ export interface ImagePropsBase
233233
*/
234234
src?: string | undefined,
235235

236+
/**
237+
* Similar to srcset from HTML.
238+
*
239+
* See https://reactnative.dev/docs/image#srcset
240+
*/
241+
srcSet?: string | undefined,
242+
236243
/**
237244
* similarly to `source`, this property represents the resource used to render
238245
* the loading indicator for the image, displayed until image is ready to be

0 commit comments

Comments
 (0)