mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 10:41:13 +08:00
chore: sync
This commit is contained in:
@ -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>(
|
||||
|
Reference in New Issue
Block a user