react-native-boxes 1.4.20 → 1.4.21

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Modal.tsx +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-boxes",
3
- "version": "1.4.20",
3
+ "version": "1.4.21",
4
4
  "description": "A react native library for rapid development of UI using boxes",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/Modal.tsx CHANGED
@@ -540,6 +540,8 @@ export function ConfirmationDialog(props: ConfirmationDialogProps) {
540
540
  {...props}
541
541
  >
542
542
  <VBox>
543
+ {(props?.noSheet && props.title) ? <Center><Subtitle>{props.title as any}</Subtitle></Center> : null}
544
+
543
545
  {props.message && <TextView style={{
544
546
  padding: theme.dimens.space.lg,
545
547
  textAlign: 'center'