@grasp-labs/ds-react-components 0.16.0 → 0.17.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.
@@ -22,8 +22,8 @@ export type MenuRoute = {
22
22
  export type MenuProps = {
23
23
  /** React element to display as the menu logo (e.g. an SVG component or img element) */
24
24
  logo: ReactElement;
25
- /** Text to display in the footer */
26
- footerText: string;
25
+ /** Content to display in the footer */
26
+ footerContent: React.ReactNode;
27
27
  /** Array of routes to display in the menu */
28
28
  routes: MenuRoute[];
29
29
  /** Current user permissions used to filter routes */
@@ -39,7 +39,7 @@ export type MenuProps = {
39
39
  * ```tsx
40
40
  * <Menu
41
41
  * logo={<MyLogo />}
42
- * footerText="© 2025 My Company"
42
+ * footerContent="© 2025 My Company"
43
43
  * routes={[
44
44
  * { path: "/dashboard", title: "Dashboard", icon: <DashboardIcon /> },
45
45
  * { path: "/settings", title: "Settings", icon: <SettingsIcon />, permissions: ["admin"] }
@@ -48,4 +48,4 @@ export type MenuProps = {
48
48
  * />
49
49
  * ```
50
50
  */
51
- export declare const Menu: ({ logo, footerText, routes, permissions, className, }: MenuProps) => JSX.Element;
51
+ export declare const Menu: ({ logo, footerContent, routes, permissions, className, }: MenuProps) => JSX.Element;