webcoreui
Version:
UI component and template library for Astro, Svelte, and React apps styled with Sass.
33 lines (30 loc) • 762 B
text/typescript
import type { ButtonProps } from '../Button/button'
export type ListEventType = {
value: string
name: string
list: HTMLUListElement
}
export type ListProps = {
showSearchBar?: boolean
showSearchBarIcon?: boolean
searchBarPlaceholder?: string
noResultsLabel?: string
maxHeight?: string
id?: string
className?: string
wrapperClassName?: string
secondary?: boolean
itemGroups: {
title?: string
items: {
name: string
value?: string
href?: string
target?: ButtonProps['target']
selected?: boolean
disabled?: boolean
icon?: string
subText?: string
}[]
}[]
}