@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.js
CHANGED
|
@@ -66827,7 +66827,7 @@ var AccordionTitle = ({
|
|
|
66827
66827
|
import "react";
|
|
66828
66828
|
import { jsx as jsx327 } from "react/jsx-runtime";
|
|
66829
66829
|
var AccordionContent = ({
|
|
66830
|
-
element
|
|
66830
|
+
element,
|
|
66831
66831
|
ref,
|
|
66832
66832
|
className,
|
|
66833
66833
|
variant = "basic",
|
|
@@ -66835,7 +66835,7 @@ var AccordionContent = ({
|
|
|
66835
66835
|
children,
|
|
66836
66836
|
...rest
|
|
66837
66837
|
}) => {
|
|
66838
|
-
const Element = element;
|
|
66838
|
+
const Element = element ?? (typeof children === "string" ? Text : "div");
|
|
66839
66839
|
return /* @__PURE__ */ jsx327(
|
|
66840
66840
|
Element,
|
|
66841
66841
|
{
|