Skip to content

Commit 3f3dcd7

Browse files
author
Kubit
committed
Deprecated tabindex prop on image component
1 parent 19c5963 commit 3f3dcd7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/image/types/image.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ export interface IImageStandAlone {
2525
borderRadius?: string;
2626
objectFit?: ImageObjectFitType;
2727
component?: GenericImageType;
28+
/**
29+
* @deprecated This property will be removed. From an accesibility perspective, it is not recommended to use tabIndex on images.
30+
*/
2831
tabIndex?: number;
2932
}
3033

0 commit comments

Comments
 (0)