Skip to content

Commit

Permalink
add comment on the new prop
Browse files Browse the repository at this point in the history
  • Loading branch information
allroundexperts committed Apr 20, 2024
1 parent 8fc1782 commit 3d00d65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/SelectionList/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ type ListItemProps<TItem extends ListItem> = CommonListItemProps<TItem> & {
/** Whether the default focus should be prevented on row selection */
shouldPreventDefaultFocusOnSelectRow?: boolean;

/** Prevent the submission of the list item when enter key is pressed */
shouldPreventEnterKeySubmit?: boolean;

/** Key used internally by React */
Expand Down

0 comments on commit 3d00d65

Please sign in to comment.