@megha-ui/react 1.2.196 → 1.2.197

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.
@@ -19,7 +19,7 @@ export const Tabs = ({ children, defaultActive, className, type = "horizontal",
19
19
  overflow: "hidden",
20
20
  }, children: children }) }));
21
21
  };
22
- export const TabList = ({ children, width, className }) => {
22
+ export const TabList = ({ children, width, className, }) => {
23
23
  const context = useContext(TabsContext);
24
24
  if (!context) {
25
25
  throw new Error("TabList component must be used inside Tabs.");
@@ -80,6 +80,6 @@ export const TabPanel = ({ label, children, className, padding, }) => {
80
80
  return isActive ? (_jsx("div", { className: className, style: {
81
81
  flex: 1,
82
82
  background: "var(--tab-panal-bg)",
83
- padding: padding !== null && padding !== void 0 ? padding : "1rem"
83
+ padding: padding !== null && padding !== void 0 ? padding : "1rem",
84
84
  }, children: children })) : null;
85
85
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.196",
3
+ "version": "1.2.197",
4
4
  "description": "A collection of reusable UI components for React applications, built with TypeScript.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",