@abgov/react-components 6.10.0-dev.12 → 6.10.0-dev.13

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/index.mjs CHANGED
@@ -3453,6 +3453,7 @@ function GoabTabs({
3453
3453
  initialTab,
3454
3454
  children,
3455
3455
  testId,
3456
+ variant,
3456
3457
  onChange
3457
3458
  }) {
3458
3459
  const ref = useRef(null);
@@ -3469,10 +3470,10 @@ function GoabTabs({
3469
3470
  };
3470
3471
  }
3471
3472
  }, [onChange]);
3472
- return /* @__PURE__ */ jsx("goa-tabs", { ref, initialtab: initialTab, testid: testId, children });
3473
+ return /* @__PURE__ */ jsx("goa-tabs", { ref, initialtab: initialTab, testid: testId, variant, children });
3473
3474
  }
3474
- function GoabTab({ heading, children }) {
3475
- return /* @__PURE__ */ jsxs("goa-tab", { children: [
3475
+ function GoabTab({ heading, disabled, children }) {
3476
+ return /* @__PURE__ */ jsxs("goa-tab", { disabled: disabled ? "true" : void 0, children: [
3476
3477
  heading && /* @__PURE__ */ jsx("span", { slot: "heading", children: heading }),
3477
3478
  children
3478
3479
  ] });