({children, ...props}: ListBoxProps<T>)
| 18 | interface ListBoxProps<T> extends Omit<AriaListBoxProps<T>, 'layout' | 'orientation'> {} |
| 19 | |
| 20 | export function ListBox<T>({children, ...props}: ListBoxProps<T>) { |
| 21 | return ( |
| 22 | <AriaListBox |
| 23 | {...props} |
| 24 | className={composeTailwindRenderProps( |
| 25 | props.className, |
| 26 | 'outline-0 p-1 w-[200px] bg-white dark:bg-neutral-900 border border-neutral-300 dark:border-neutral-700 rounded-lg font-sans' |
| 27 | )}> |
| 28 | {children} |
| 29 | </AriaListBox> |
| 30 | ); |
| 31 | } |
| 32 | |
| 33 | export const itemStyles = tv({ |
| 34 | extend: focusRing, |
nothing calls this directly
no test coverage detected