Skip to content

Commit

Permalink
feat: export more features
Browse files Browse the repository at this point in the history
  • Loading branch information
liuweiGL committed Mar 30, 2022
1 parent 907ad0d commit d04c640
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/router/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
export {
createBrowserHistory,
createHashHistory,
createMemoryHistory,
createPath
} from 'history'
import { Route } from './core/route'

export {
Router,
BrowserRouter,
HashRouter,
type RouterProps,
type BrowserRouterProps,
type HashRouterProps
} from './components/Router'
Expand Down

0 comments on commit d04c640

Please sign in to comment.