feat(react): React Router Enhancements (#21693)

This commit is contained in:
Ely Lucas
2020-07-07 11:02:05 -06:00
committed by GitHub
parent a0735b97bf
commit c171ccbd37
245 changed files with 26872 additions and 1126 deletions

View File

@ -21,13 +21,17 @@ export { IonPage } from './IonPage';
export { IonTabsContext, IonTabsContextState } from './navigation/IonTabsContext';
export { IonTabs } from './navigation/IonTabs';
export { IonTabBar } from './navigation/IonTabBar';
export { IonTabButton } from './navigation/IonTabButton';
export { IonBackButton } from './navigation/IonBackButton';
export { IonRouterOutlet } from './IonRouterOutlet';
export { IonIcon } from './IonIcon';
export * from './IonRoute';
export * from './IonRedirect';
export * from './IonRouterContext';
// Utils
export { isPlatform, getPlatforms, getConfig } from './utils';
export { RouterDirection } from './hrefprops';
export { isPlatform, getPlatforms, getConfig, ionRenderToString } from './utils';
export * from './hrefprops';
// Ionic Animations
export { CreateAnimation } from './CreateAnimation';
@ -51,4 +55,6 @@ addIcons({
// TODO: defineCustomElements() is asyncronous
// We need to use the promise
defineCustomElements(window);
if (typeof window !== 'undefined') {
defineCustomElements(window);
}