randmarcomps 1.225.0 → 1.227.0
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.
- package/README.md +1 -5
- package/dist/randmarcomps.d.ts +2 -0
- package/dist/randmarcomps.js +1592 -1583
- package/dist/randmarcomps.umd.cjs +45 -45
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,16 +37,12 @@ If you're using a different path structure, adjust the path accordingly. The pat
|
|
|
37
37
|
|
|
38
38
|
### React Router
|
|
39
39
|
|
|
40
|
-
Several components
|
|
40
|
+
Several components require React Router:
|
|
41
41
|
|
|
42
42
|
```bash
|
|
43
43
|
npm install react-router-dom@^7.3.0
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
Components that use React Router include:
|
|
47
|
-
- Navbar (uses useParams, Link)
|
|
48
|
-
- Topbar (uses useNavigate, useParams)
|
|
49
|
-
|
|
50
46
|
## Usage
|
|
51
47
|
|
|
52
48
|
### 1. Import the CSS
|
package/dist/randmarcomps.d.ts
CHANGED
|
@@ -388,6 +388,7 @@ export declare const Layout: ForwardRefExoticComponent<LayoutProps & RefAttribut
|
|
|
388
388
|
|
|
389
389
|
declare interface LayoutProps {
|
|
390
390
|
children: React.ReactNode;
|
|
391
|
+
appID: string;
|
|
391
392
|
rightMenu?: React.ReactNode;
|
|
392
393
|
footer: React.ReactNode;
|
|
393
394
|
routes: NavRoute[];
|
|
@@ -443,6 +444,7 @@ export declare const Navbar: default_2.ForwardRefExoticComponent<NavbarProps & d
|
|
|
443
444
|
|
|
444
445
|
export declare interface NavbarProps {
|
|
445
446
|
routes: NavRoute[];
|
|
447
|
+
appID: string;
|
|
446
448
|
dashboardTitle?: string;
|
|
447
449
|
footer: default_2.ReactNode;
|
|
448
450
|
withRandmarAssistant?: boolean;
|