compote-ui
Version:
An opinionated UI component library for Svelte, built on top of [Ark UI](https://ark-ui.com) with additional components and features not available in the core Ark UI library.
15 lines (14 loc) • 545 B
TypeScript
import type { ListboxContentBaseProps } from '@ark-ui/svelte/listbox';
import type { Snippet } from 'svelte';
import type { ListItem } from '../../utils/collections';
import type { ClassValue } from 'svelte/elements';
type Props = ListboxContentBaseProps & {
class?: ClassValue;
items?: Snippet<[{
items: ListItem[];
group: [string, ListItem[]][];
}]>;
};
declare const ListboxContent: import("svelte").Component<Props, {}, "">;
type ListboxContent = ReturnType<typeof ListboxContent>;
export default ListboxContent;