export type DropdownAction<T> = {
label?: string
iconName?: GlobalIconName
+ description?: string
+ title?: string
handler?: (a: T) => any
linkBuilder?: (a: T) => (string | number)[]
isDisplayed?: (a: T) => boolean
@Input() actions: DropdownAction<T>[] | DropdownAction<T>[][] = []
@Input() entry: T
- @Input() placement = 'bottom-left'
+ @Input() placement = 'bottom-left auto'
@Input() buttonSize: DropdownButtonSize = 'normal'
@Input() buttonDirection: DropdownDirection = 'horizontal'