chore: repair Dropdown after removal of experimental decorators
parent
ca9bda4154
commit
da395a2840
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue