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