@megha-ui/react 1.2.476 → 1.2.477
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
const
|
|
2
|
+
const RadioInput = ({ handleChange, name, options, position = "right", selectedValue, wrapperClass, }) => {
|
|
3
3
|
return (_jsx("div", { className: wrapperClass, children: options.map((option) => (_jsx("div", { children: _jsxs("label", { style: {
|
|
4
4
|
alignItems: "center",
|
|
5
5
|
display: "flex",
|
|
@@ -15,4 +15,4 @@ const EpicRadioInput = ({ handleChange, name, options, position = "right", selec
|
|
|
15
15
|
marginLeft: "0.5rem",
|
|
16
16
|
} }))] }, option.value) }, option.value))) }));
|
|
17
17
|
};
|
|
18
|
-
export default
|
|
18
|
+
export default RadioInput;
|
package/dist/index.d.ts
CHANGED
|
@@ -16,3 +16,4 @@ export { Tabs, Tab, TabList, TabPanel } from "./components/tabs";
|
|
|
16
16
|
export { formatValue } from "./services/commonService";
|
|
17
17
|
export { default as Chat } from "./components/chat";
|
|
18
18
|
export { default as IconDropDown } from "./components/IconDropDown";
|
|
19
|
+
export { default as RadioInput } from "./components/radio";
|
package/dist/index.js
CHANGED
|
@@ -16,3 +16,4 @@ export { Tabs, Tab, TabList, TabPanel } from "./components/tabs";
|
|
|
16
16
|
export { formatValue } from "./services/commonService";
|
|
17
17
|
export { default as Chat } from "./components/chat";
|
|
18
18
|
export { default as IconDropDown } from "./components/IconDropDown";
|
|
19
|
+
export { default as RadioInput } from "./components/radio";
|
package/package.json
CHANGED