mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
fix(react): IonRouterOutlet now respects animated={false} prop (#22905)
resolves #22903
This commit is contained in:
@ -73,7 +73,7 @@ export const createReactComponent = <PropType, ElementType>(
|
||||
if (isCoveredByReact(eventName)) {
|
||||
(acc as any)[name] = (cProps as any)[name];
|
||||
}
|
||||
} else if (typeof (cProps as any)[name] === 'string') {
|
||||
} else if (['string', 'boolean', 'number'].includes(typeof (cProps as any)[name])) {
|
||||
(acc as any)[camelToDashCase(name)] = (cProps as any)[name];
|
||||
}
|
||||
return acc;
|
||||
|
Reference in New Issue
Block a user