Skip to content

Commit 7f062b8

Browse files
committed
fix lint?
1 parent 3052001 commit 7f062b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/@react-spectrum/s2/src/ComboBox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ const iconStyles = style({
148148
}
149149
});
150150

151-
export let listbox = style({
151+
export let listbox = style<{size: 'S' | 'M' | 'L' | 'XL'}>({
152152
width: 'full',
153153
boxSizing: 'border-box',
154154
maxHeight: '[inherit]',

packages/@react-spectrum/s2/src/Picker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ export const Picker = /*#__PURE__*/ (forwardRef as forwardRefType)(function Pick
424424
}}>
425425
<ListBox
426426
items={items}
427-
className={listbox}>
427+
className={listbox({size})}>
428428
{children}
429429
</ListBox>
430430
</Virtualizer>

0 commit comments

Comments
 (0)