chore(): update deps (#19437)

This commit is contained in:
Manu MA
2019-09-25 18:12:57 +02:00
committed by GitHub
parent 0f05ea4245
commit 446cf78e58
8 changed files with 219 additions and 119 deletions

View File

@ -1,10 +1,7 @@
import { Platforms, getPlatforms as getPlatformsCore, isPlatform as isPlatformCore } from '@ionic/core';
import React from 'react';
export type IonicReactExternalProps<PropType, ElementType> = PropType & {
ref?: React.RefObject<ElementType>;
children?: React.ReactNode;
};
export type IonicReactExternalProps<PropType, ElementType> = PropType & React.HTMLAttributes<ElementType>;
export const createForwardRef = <PropType, ElementType>(ReactComponent: any, displayName: string) => {
const forwardRef = (props: IonicReactExternalProps<PropType, ElementType>, ref: React.Ref<ElementType>) => {