Skip to content

Commit 07b7bdc

Browse files
committed
fix: allow props on InputSearch ListItem to pass through for custom styling
1 parent 66fc814 commit 07b7bdc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/kit/src/input-search/InputSearchListItem.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,11 @@ export const ListItem = ({ item, state }: ListItemProps) => {
9797
);
9898
}
9999

100+
const { children, textValue, ...itemProps } = item.props;
101+
100102
return (
101103
<StyledListItem
104+
{...itemProps}
102105
{...optionProps}
103106
ref={ref}
104107
selected={isSelected}

0 commit comments

Comments
 (0)