opus-react 0.2.33 → 0.2.34

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/dist/index.d.cts CHANGED
@@ -2257,16 +2257,18 @@ type SidebarLinkProps = {
2257
2257
  active?: boolean;
2258
2258
  children: ReactNode;
2259
2259
  href?: string;
2260
+ icon?: ReactNode;
2260
2261
  onClick?: () => void;
2261
2262
  };
2262
- declare function SidebarLink({ active, children, href, onClick }: SidebarLinkProps): react.JSX.Element;
2263
+ declare function SidebarLink({ active, children, href, icon, onClick }: SidebarLinkProps): react.JSX.Element;
2263
2264
  type SidebarGroupProps = {
2264
2265
  children: ReactNode;
2265
2266
  defaultOpen?: boolean;
2267
+ icon?: ReactNode;
2266
2268
  id?: string;
2267
2269
  label: string;
2268
2270
  };
2269
- declare function SidebarGroup({ children, defaultOpen, id, label }: SidebarGroupProps): react.JSX.Element;
2271
+ declare function SidebarGroup({ children, defaultOpen, icon, id, label }: SidebarGroupProps): react.JSX.Element;
2270
2272
  type SidebarLayoutProps = {
2271
2273
  children: ReactNode;
2272
2274
  collapsed?: boolean;
package/dist/index.d.ts CHANGED
@@ -2257,16 +2257,18 @@ type SidebarLinkProps = {
2257
2257
  active?: boolean;
2258
2258
  children: ReactNode;
2259
2259
  href?: string;
2260
+ icon?: ReactNode;
2260
2261
  onClick?: () => void;
2261
2262
  };
2262
- declare function SidebarLink({ active, children, href, onClick }: SidebarLinkProps): react.JSX.Element;
2263
+ declare function SidebarLink({ active, children, href, icon, onClick }: SidebarLinkProps): react.JSX.Element;
2263
2264
  type SidebarGroupProps = {
2264
2265
  children: ReactNode;
2265
2266
  defaultOpen?: boolean;
2267
+ icon?: ReactNode;
2266
2268
  id?: string;
2267
2269
  label: string;
2268
2270
  };
2269
- declare function SidebarGroup({ children, defaultOpen, id, label }: SidebarGroupProps): react.JSX.Element;
2271
+ declare function SidebarGroup({ children, defaultOpen, icon, id, label }: SidebarGroupProps): react.JSX.Element;
2270
2272
  type SidebarLayoutProps = {
2271
2273
  children: ReactNode;
2272
2274
  collapsed?: boolean;