Skip to content

Commit

Permalink
fix: allow props on InputSearch ListItem to pass through for custom s…
Browse files Browse the repository at this point in the history
…tyling
  • Loading branch information
wp-aberg committed Dec 11, 2024
1 parent 66fc814 commit 07b7bdc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/kit/src/input-search/InputSearchListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,11 @@ export const ListItem = ({ item, state }: ListItemProps) => {
);
}

const { children, textValue, ...itemProps } = item.props;

return (
<StyledListItem
{...itemProps}
{...optionProps}
ref={ref}
selected={isSelected}
Expand Down

0 comments on commit 07b7bdc

Please sign in to comment.