Fix AutoHideScrollbar typing

This commit is contained in:
Michael Telatynski 2021-06-24 16:43:12 +01:00
parent c5a1da49ce
commit 3d6c6cea89

View file

@ -17,7 +17,7 @@ limitations under the License.
import React, { HTMLAttributes, WheelEvent } from "react"; import React, { HTMLAttributes, WheelEvent } from "react";
interface IProps extends HTMLAttributes<HTMLDivElement> { interface IProps extends Omit<HTMLAttributes<HTMLDivElement>, "onScroll"> {
className?: string; className?: string;
onScroll?: (event: Event) => void; onScroll?: (event: Event) => void;
onWheel?: (event: WheelEvent) => void; onWheel?: (event: WheelEvent) => void;