Fix AutoHideScrollbar typing
This commit is contained in:
parent
c5a1da49ce
commit
3d6c6cea89
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||
|
||||
import React, { HTMLAttributes, WheelEvent } from "react";
|
||||
|
||||
interface IProps extends HTMLAttributes<HTMLDivElement> {
|
||||
interface IProps extends Omit<HTMLAttributes<HTMLDivElement>, "onScroll"> {
|
||||
className?: string;
|
||||
onScroll?: (event: Event) => void;
|
||||
onWheel?: (event: WheelEvent) => void;
|
||||
|
|
Loading…
Reference in a new issue