OptionalariaAria label for the recent searches button
OptionalbuttonClass name for the trigger button. Defaults to absolute positioning inside an input field. Pass
a custom value to render the button standalone (e.g. "tw-h-9 tw-w-9")
OptionalbuttonVariant for the trigger button. Defaults to "ghost"
OptionalclassClass name for styling the CommandItem for each recent search result
OptionalgetFunction to create a unique key for each item
OptionalgroupHeading text for the recent searches group
OptionalidOptional ID for the popover content for accessibility
Callback when a recent search item is selected
Array of recent search items
OptionalrenderFunction to render each search item as a string for display
Interface defining the properties for the RecentSearches component