chore: sync

This commit is contained in:
Liam DeBeasi
2023-12-18 10:46:20 -05:00
382 changed files with 4167 additions and 861 deletions

View File

@ -5,7 +5,15 @@ import React from 'react';
import type { IonicReactProps } from '../IonicReactProps';
export type IonicReactExternalProps<PropType, ElementType> = PropType &
Omit<React.HTMLAttributes<ElementType>, 'style'> &
/**
* TODO: FW-5753
*
* The `placeholder` property was removed from `HTMLAttributes` in @types/react@18.2.43
* https://github.com/DefinitelyTyped/DefinitelyTyped/commit/b954269038de46b4b2f1756a9f2f020cbc66a326
*
* This is a temporary workaround until @ionic/react is updated to >=18.2.43.
*/
Omit<React.HTMLAttributes<ElementType>, 'style' | 'placeholder'> &
IonicReactProps;
export const createForwardRef = <PropType, ElementType>(