ikualo-ui-kit-mobile 1.8.4 → 1.8.5

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/app.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "name": "ikualo-app-2.0",
4
4
  "slug": "ikualo-app-20",
5
5
  "owner": "ikualo",
6
- "version": "1.8.4",
6
+ "version": "1.8.5",
7
7
  "orientation": "portrait",
8
8
  "icon": "./assets/icon.png",
9
9
  "userInterfaceStyle": "automatic",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ikualo-ui-kit-mobile",
3
- "version": "1.8.4",
3
+ "version": "1.8.5",
4
4
  "main": "src/index.ts",
5
5
  "scripts": {
6
6
  "start": "expo start",
@@ -8,7 +8,7 @@ import { IDialogDown } from '../../models';
8
8
  export const DialogDown = (props: IDialogDown) => {
9
9
  const theme = useStore().theme;
10
10
  const stylesDialog = getStylesDialog(theme);
11
- const { isVisible, title, children, onDismiss, image, showCloseButton } = props;
11
+ const { isVisible, title, children, onDismiss, image, showCloseButton = true } = props;
12
12
  const slideAnim = useRef(new Animated.Value(0)).current;
13
13
 
14
14
  const handleDismissKeyboard = () => {
@@ -83,6 +83,7 @@ export const DialogDown = (props: IDialogDown) => {
83
83
  />
84
84
  </TouchableHighlight>
85
85
  )}
86
+
86
87
  {image ? (
87
88
  <View style={stylesDialog['dialog-img']}>{image}</View>
88
89
  ) : (