Module: router
Classes
Interfaces
Variables
RouterOptions
• Const
RouterOptions: typeof RouterOptions
Defined in
packages/reactant-router/src/router.tsx:23
Functions
createBrowserHistory
▸ createBrowserHistory<S
>(options?
): History
<S
>
Type parameters
Name | Type |
---|---|
S | unknown |
Parameters
Name | Type |
---|---|
options? | BrowserHistoryBuildOptions |
Returns
History
<S
>
Defined in
node_modules/@types/history/createBrowserHistory.d.ts:11
createHashHistory
▸ createHashHistory<S
>(options?
): History
<S
>
Type parameters
Name | Type |
---|---|
S | unknown |
Parameters
Name | Type |
---|---|
options? | HashHistoryBuildOptions |
Returns
History
<S
>
Defined in
node_modules/@types/history/createHashHistory.d.ts:12
createMemoryHistory
▸ createMemoryHistory<S
>(options?
): MemoryHistory
<S
>
Type parameters
Name | Type |
---|---|
S | unknown |
Parameters
Name | Type |
---|---|
options? | MemoryHistoryBuildOptions |
Returns
MemoryHistory
<S
>
Defined in
node_modules/@types/history/createMemoryHistory.d.ts:19