Update the WindowScroller registerChild prop typings to match the typeof that the package is expecting (#41100)

This commit is contained in:
Michael Fox 2019-12-18 12:50:20 -05:00 committed by Daniel Rosenwasser
parent 3a4a9d0e1c
commit 31b226986d

View File

@ -13,7 +13,7 @@ export type WindowScrollerChildProps = {
scrollTop: number;
scrollLeft: number;
onChildScroll: (params: { scrollTop: number }) => void;
registerChild: (element?: React.ReactElement) => void;
registerChild: (element?: React.ReactNode) => void;
};
export type WindowScrollerProps = {