dhre-ui-kit 0.0.326 → 0.0.327
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/lib/index.d.ts +1 -0
- package/lib/index.js +3 -2
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +3 -2
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -2014,7 +2014,8 @@ const Accordion = ({
|
|
|
2014
2014
|
headerComponent,
|
|
2015
2015
|
disabled = false,
|
|
2016
2016
|
icon,
|
|
2017
|
-
titleVariant = "B4_REGULAR"
|
|
2017
|
+
titleVariant = "B4_REGULAR",
|
|
2018
|
+
slideAnimation = true
|
|
2018
2019
|
}) => {
|
|
2019
2020
|
const contentRef = React.useRef(null);
|
|
2020
2021
|
const [animation] = React.useState(new reactNative.Animated.Value(0));
|
|
@@ -2073,7 +2074,7 @@ const Accordion = ({
|
|
|
2073
2074
|
}) : null
|
|
2074
2075
|
),
|
|
2075
2076
|
optionalElement ? optionalElement() : null,
|
|
2076
|
-
isOpen && /* @__PURE__ */ React__default["default"].createElement(reactNative.Animated.View, { style: [styles$m.content, { height: cardHeight }] }, /* @__PURE__ */ React__default["default"].createElement(
|
|
2077
|
+
isOpen && /* @__PURE__ */ React__default["default"].createElement(reactNative.Animated.View, { style: [styles$m.content, slideAnimation && { height: cardHeight }] }, /* @__PURE__ */ React__default["default"].createElement(
|
|
2077
2078
|
reactNative.View,
|
|
2078
2079
|
{
|
|
2079
2080
|
ref: contentRef,
|