mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 10:41:13 +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, createHashHistory as createHistory } from 'history';
|
||||
import {
|
||||
Action as HistoryAction,
|
||||
History,
|
||||
Location as HistoryLocation,
|
||||
createHashHistory as createHistory,
|
||||
} from 'history';
|
||||
import React from 'react';
|
||||
import { BrowserRouterProps, Router } from 'react-router-dom';
|
||||
|
||||
@ -10,7 +15,7 @@ interface IonReactHashRouterProps extends BrowserRouterProps {
|
||||
|
||||
export class IonReactHashRouter extends React.Component<IonReactHashRouterProps> {
|
||||
history: History;
|
||||
historyListenHandler?: ((location: HistoryLocation, action: HistoryAction) => void);
|
||||
historyListenHandler?: (location: HistoryLocation, action: HistoryAction) => void;
|
||||
|
||||
constructor(props: IonReactHashRouterProps) {
|
||||
super(props);
|
||||
|
Reference in New Issue
Block a user