dhre-ui-kit 0.0.229 → 0.0.232
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 -3
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +3 -3
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -744,7 +744,7 @@ const createStyles$3 = (theme) => {
|
|
|
744
744
|
});
|
|
745
745
|
};
|
|
746
746
|
|
|
747
|
-
const CustomLoader = ({ loading }) => {
|
|
747
|
+
const CustomLoader = ({ loading, loadingText = "Loading..." }) => {
|
|
748
748
|
const rotateAnim = useRef(new Animated.Value(0)).current;
|
|
749
749
|
const { theme, mode } = useTheme();
|
|
750
750
|
const styles = createStyles$3(theme);
|
|
@@ -796,7 +796,7 @@ const CustomLoader = ({ loading }) => {
|
|
|
796
796
|
))), /* @__PURE__ */ React.createElement(
|
|
797
797
|
CustomText$1,
|
|
798
798
|
{
|
|
799
|
-
text:
|
|
799
|
+
text: loadingText,
|
|
800
800
|
style: styles.text,
|
|
801
801
|
variant: FontStyle.B4_REGULAR,
|
|
802
802
|
textColor: "#000000"
|
|
@@ -4397,7 +4397,7 @@ const CustomSlideButton = React.forwardRef(
|
|
|
4397
4397
|
});
|
|
4398
4398
|
},
|
|
4399
4399
|
onPanResponderRelease: (e, gestureState) => {
|
|
4400
|
-
if (gestureState.dx >= value.current * 0.
|
|
4400
|
+
if (gestureState.dx >= value.current * 0.8) {
|
|
4401
4401
|
onComplete?.();
|
|
4402
4402
|
Animated.timing(translateX, {
|
|
4403
4403
|
toValue: value.current - BUTTON_WIDTH,
|