cdslibrary 1.2.12 → 1.2.13
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.
|
@@ -133,7 +133,10 @@ export const CDSBottomSheet = ({
|
|
|
133
133
|
<CDSButton
|
|
134
134
|
label={secondaryButtonLabel}
|
|
135
135
|
type="ghost"
|
|
136
|
-
onPress={
|
|
136
|
+
onPress={() => {
|
|
137
|
+
onFinish && onFinish();
|
|
138
|
+
handleClose;
|
|
139
|
+
}}
|
|
137
140
|
/>
|
|
138
141
|
</View>
|
|
139
142
|
)}
|
|
@@ -148,7 +151,10 @@ export const CDSBottomSheet = ({
|
|
|
148
151
|
},
|
|
149
152
|
]}
|
|
150
153
|
>
|
|
151
|
-
<Pressable onPress={
|
|
154
|
+
<Pressable onPress={() => {
|
|
155
|
+
onFinish && onFinish();
|
|
156
|
+
handleClose;
|
|
157
|
+
}} style={{ flex: 1 }} />
|
|
152
158
|
</Animated.View>
|
|
153
159
|
</>
|
|
154
160
|
);
|