"use client"; // Adapted from Adobe React Spectrum starters (Apache-2.0). // Modified: owned composition, local runtime, scoped CSS and customization. // See THIRD_PARTY_NOTICES.md. import { ListBox as AriaListBox, ListBoxItem as AriaListBoxItem, type ListBoxProps, type ListBoxItemProps, composeRenderProps, } from "./react-aria-runtime.js"; export function ListBox({ className, ...props }: ListBoxProps) { return ( `ynr-list-box ynr-aria ${value ?? ""}`, )} /> ); } export function ListBoxItem({ className, ...props }: ListBoxItemProps) { return ( `ynr-aria-option ${value ?? ""}`, )} /> ); }