fis-component 0.0.82 → 0.0.83
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/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -63085,7 +63085,7 @@ const FISTab = ({ children, active: propActive, defaultActive, size = "md", clas
|
|
|
63085
63085
|
}
|
|
63086
63086
|
onChange?.(key);
|
|
63087
63087
|
};
|
|
63088
|
-
const activeContent =
|
|
63088
|
+
const activeContent = tabs.find((tab) => tab.value === activeKey)?.children;
|
|
63089
63089
|
React.useEffect(() => {
|
|
63090
63090
|
if (propActive !== undefined) {
|
|
63091
63091
|
setStateActive(propActive);
|