We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f840cb commit 156db8cCopy full SHA for 156db8c
src/components/SelectionList/BaseListItem.tsx
@@ -82,6 +82,7 @@ function BaseListItem<TItem extends ListItem>({
82
id={keyForList ?? ''}
83
style={pressableStyle}
84
onFocus={onFocus}
85
+ tabIndex={item.tabIndex}
86
>
87
<View style={wrapperStyle}>
88
{typeof children === 'function' ? children(hovered) : children}
src/components/SelectionList/types.ts
@@ -125,6 +125,9 @@ type ListItem = {
125
126
/** Whether the brick road indicator should be shown */
127
brickRoadIndicator?: BrickRoad | '' | null;
128
+
129
+ /** Whether item pressable wrapper should be focusable */
130
+ tabIndex?: 0 | -1;
131
};
132
133
type TransactionListItemType = ListItem &
0 commit comments