@julseb-lib/react 1.0.12 → 1.0.14
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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -67009,7 +67009,7 @@ var AccordionTitle = ({
|
|
|
67009
67009
|
var import_react75 = require("react");
|
|
67010
67010
|
var import_jsx_runtime328 = require("react/jsx-runtime");
|
|
67011
67011
|
var AccordionContent = ({
|
|
67012
|
-
element
|
|
67012
|
+
element,
|
|
67013
67013
|
ref,
|
|
67014
67014
|
className,
|
|
67015
67015
|
variant = "basic",
|
|
@@ -67017,7 +67017,7 @@ var AccordionContent = ({
|
|
|
67017
67017
|
children,
|
|
67018
67018
|
...rest
|
|
67019
67019
|
}) => {
|
|
67020
|
-
const Element = element;
|
|
67020
|
+
const Element = element ?? (typeof children === "string" ? Text : "div");
|
|
67021
67021
|
return /* @__PURE__ */ (0, import_jsx_runtime328.jsx)(
|
|
67022
67022
|
Element,
|
|
67023
67023
|
{
|