fix(react): fix refs for controllers, overlays, ionpage, and ionrouteroutlet, fixes #19924 (#20012)

This commit is contained in:
Ely Lucas
2019-11-27 16:08:56 -07:00
committed by Ely Lucas
parent 93bd4afb1d
commit ab0f92e01f
6 changed files with 78 additions and 18 deletions

View File

@ -13,7 +13,7 @@ type Props = LocalJSX.IonRouterOutlet & {
};
type InternalProps = Props & {
forwardedRef: any;
forwardedRef?: React.RefObject<HTMLIonRouterOutletElement>;
};
const IonRouterOutletContainer = /*@__PURE__*/(() => class extends React.Component<InternalProps> {