chore: repair Dropdown after removal of experimental decorators

pull/5991/head
Pavel Zavora 2022-07-22 15:39:22 +02:00
parent ca9bda4154
commit da395a2840
1 changed files with 4 additions and 3 deletions

View File

@ -44,7 +44,7 @@ interface State {
highlightedItemIndex: number highlightedItemIndex: number
} }
export class Dropdown extends Component<Props, State> { class Dropdown extends Component<Props, State> {
public static defaultProps: Partial<Props> = { public static defaultProps: Partial<Props> = {
actions: [], actions: [],
buttonSize: 'btn-sm', buttonSize: 'btn-sm',
@ -257,5 +257,6 @@ export class Dropdown extends Component<Props, State> {
} }
} }
} }
const DropdownEH = ErrorHandling(Dropdown)
export default OnClickOutside(ErrorHandling(Dropdown)) export {DropdownEH as Dropdown}
export default OnClickOutside(DropdownEH)