@pnkx-lib/ui 1.9.451 → 1.9.452

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.
@@ -4,10 +4,10 @@ import { Breadcrumb } from './Breadcrumb.js';
4
4
  import { u as useBreadcrumb } from '../chunks/useBreadcrumb-DEKhv1-Z.js';
5
5
 
6
6
  const BreadcrumbHeading = (props) => {
7
- const { menu, customBreadcum } = props;
7
+ const { menu, customBreadcum, ...restProps } = props;
8
8
  const mappingBreadcrumb = useBreadcrumb(menu, customBreadcum);
9
9
  //! Render
10
- return /* @__PURE__ */ jsx("div", { className: r("flex justify-between items-center"), children: /* @__PURE__ */ jsx(Breadcrumb, { items: mappingBreadcrumb }) });
10
+ return /* @__PURE__ */ jsx("div", { className: r("flex justify-between items-center"), children: /* @__PURE__ */ jsx(Breadcrumb, { items: mappingBreadcrumb, ...restProps }) });
11
11
  };
12
12
 
13
13
  export { BreadcrumbHeading };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pnkx-lib/ui",
3
3
  "private": false,
4
- "version": "1.9.451",
4
+ "version": "1.9.452",
5
5
  "type": "module",
6
6
  "main": "./es/index.js",
7
7
  "module": "./es/index.js",
@@ -1,5 +1,6 @@
1
+ import { BreadcrumbPropsUnion } from './Breadcrumb';
1
2
  import { MenuType } from './Sidebar';
2
- export interface BreadcrumbHeadingProps {
3
+ export interface BreadcrumbHeadingProps extends BreadcrumbPropsUnion {
3
4
  menu: Array<MenuType>;
4
5
  customBreadcum?: Array<{
5
6
  title: React.ReactNode;