mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 01:03:03 +08:00
chore(react): adding prettier and formating files
This commit is contained in:
@ -1,4 +1,9 @@
|
||||
import { Action as HistoryAction, History, Location as HistoryLocation, createBrowserHistory as createHistory } from 'history';
|
||||
import {
|
||||
Action as HistoryAction,
|
||||
History,
|
||||
Location as HistoryLocation,
|
||||
createBrowserHistory as createHistory,
|
||||
} from 'history';
|
||||
import React from 'react';
|
||||
import { BrowserRouterProps, Router } from 'react-router-dom';
|
||||
|
||||
@ -9,8 +14,7 @@ interface IonReactRouterProps extends BrowserRouterProps {
|
||||
}
|
||||
|
||||
export class IonReactRouter extends React.Component<IonReactRouterProps> {
|
||||
|
||||
historyListenHandler?: ((location: HistoryLocation, action: HistoryAction) => void);
|
||||
historyListenHandler?: (location: HistoryLocation, action: HistoryAction) => void;
|
||||
history: History;
|
||||
|
||||
constructor(props: IonReactRouterProps) {
|
||||
|
Reference in New Issue
Block a user