We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3052001 commit 7f062b8Copy full SHA for 7f062b8
packages/@react-spectrum/s2/src/ComboBox.tsx
@@ -148,7 +148,7 @@ const iconStyles = style({
148
}
149
});
150
151
-export let listbox = style({
+export let listbox = style<{size: 'S' | 'M' | 'L' | 'XL'}>({
152
width: 'full',
153
boxSizing: 'border-box',
154
maxHeight: '[inherit]',
packages/@react-spectrum/s2/src/Picker.tsx
@@ -424,7 +424,7 @@ export const Picker = /*#__PURE__*/ (forwardRef as forwardRefType)(function Pick
424
}}>
425
<ListBox
426
items={items}
427
- className={listbox}>
+ className={listbox({size})}>
428
{children}
429
</ListBox>
430
</Virtualizer>
0 commit comments