@cyber-harbour/ui 1.1.4 → 1.1.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.
package/dist/index.d.mts CHANGED
@@ -1838,7 +1838,7 @@ interface Graph2DProps {
1838
1838
  interface NodeButton {
1839
1839
  img: string;
1840
1840
  hoverImg: string;
1841
- loading?: boolean;
1841
+ loading?: boolean | ((node: NodeObject) => boolean);
1842
1842
  getCount?: (node: NodeObject) => number;
1843
1843
  onClick: (node: NodeObject) => void;
1844
1844
  }
package/dist/index.d.ts CHANGED
@@ -1838,7 +1838,7 @@ interface Graph2DProps {
1838
1838
  interface NodeButton {
1839
1839
  img: string;
1840
1840
  hoverImg: string;
1841
- loading?: boolean;
1841
+ loading?: boolean | ((node: NodeObject) => boolean);
1842
1842
  getCount?: (node: NodeObject) => number;
1843
1843
  onClick: (node: NodeObject) => void;
1844
1844
  }