Skip to content

Commit

Permalink
docs: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbigDreamer committed Oct 26, 2022
1 parent 30df138 commit 9111aa1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
8 changes: 5 additions & 3 deletions packages/pangu/pangu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@
- [x] useRouter
- [x] useQuery
- [x] Preload Route Source
- [x] Plugin IOC
- [ ] Provider
- [ ] `useProvider` consume
- [x] Plugin BASE IOC
- [ ] ~~Provider~~
- [ ] ~~`useProvider` consume~~
- [ ] ~~Plugin~~
- [ ] ~~`pangu-plugin-route-preload`~~
- [ ] Keep-Alive Router
- [ ] PanGuFC

Expand Down
2 changes: 1 addition & 1 deletion packages/pangu/pangu/src/core/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Router, { type PanGuRouteObject, type RouterModeType, RouterMode } from '
type PanGuConstructorStruts = {
container?: HTMLElement;
routes: PanGuRouteObject[];
mode?: RouterModeType;
mode?: RouterModeType | string;
};

class PanGu {
Expand Down
1 change: 1 addition & 0 deletions packages/pangu/pangu/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ import PanGu from './core';
export * from 'react-router-dom';
export * from './hoc';
export * from './hook';
export type { PluginType, RoutePlugin } from './plugin';
export default PanGu;

0 comments on commit 9111aa1

Please sign in to comment.