We are trying use REACT 18.2 with IONIC 5.9.4 , but we need a change over :
IonTabButton.tsx
Today show:
(alias) class IonTabButton
import IonTabButton
Type ‘{ children: Element[]; className: string; tab: any; href: any; }’ is not assignable to type ‘IntrinsicAttributes & IntrinsicClassAttributes & Readonly’.
Property ‘children’ does not exist on type ‘IntrinsicAttributes & IntrinsicClassAttributes & Readonly’.ts(2322)
so we found a solution
We replace
export class IonTabButton extends React.Component<PropsWithChildren<Props>> {
with:
export declare class IonTabButton extends React.Component<PropsWithChildren<Props>> {
Can you make a COMMIT?
How can i hava a branch with this solution?