@cloud-app-dev/vidc 2.1.0-alpha.4 → 2.1.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,8 @@
1
- import { RouterProps } from 'react-router-dom';
2
- declare function AppRouter({ basename, children, ...props }: RouterProps): JSX.Element;
1
+ import React from 'react';
2
+ interface AppRouterProps {
3
+ basename?: string;
4
+ children?: React.ReactNode;
5
+ static?: boolean;
6
+ }
7
+ declare function AppRouter({ children, ...props }: AppRouterProps): JSX.Element;
3
8
  export default AppRouter;
@@ -4,12 +4,10 @@ import { Router, Routes } from 'react-router-dom';
4
4
  import InstanceHistory from '../InstanceHistory';
5
5
 
6
6
  function AppRouter(_a) {
7
- var basename = _a.basename,
8
- children = _a.children,
9
- props = __rest(_a, ["basename", "children"]);
7
+ var children = _a.children,
8
+ props = __rest(_a, ["children"]);
10
9
 
11
10
  return /*#__PURE__*/React.createElement(Router, Object.assign({}, props, {
12
- basename: basename,
13
11
  navigator: InstanceHistory,
14
12
  navigationType: InstanceHistory.action,
15
13
  location: InstanceHistory.location
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "private": false,
3
3
  "name": "@cloud-app-dev/vidc",
4
4
  "description": "Video Image Data Componennts",
5
- "version": "2.1.0-alpha.4",
5
+ "version": "2.1.0-alpha.5",
6
6
  "scripts": {
7
7
  "start": "dumi dev",
8
8
  "docs:build": "dumi build",