@dubsdotapp/expo 0.2.6 → 0.2.7

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/dist/index.mjs CHANGED
@@ -2779,7 +2779,8 @@ function CreateCustomGameSheet({
2779
2779
  title,
2780
2780
  maxPlayers = 2,
2781
2781
  fee = 5,
2782
- presetAmounts = [0.1, 0.5, 1],
2782
+ presetAmounts = [0.01, 0.1, 0.5, 1],
2783
+ defaultAmount = 0.01,
2783
2784
  metadata,
2784
2785
  onSuccess,
2785
2786
  onError
@@ -2800,7 +2801,7 @@ function CreateCustomGameSheet({
2800
2801
  }, [visible, overlayOpacity]);
2801
2802
  useEffect8(() => {
2802
2803
  if (visible) {
2803
- setSelectedAmount(null);
2804
+ setSelectedAmount(defaultAmount ?? null);
2804
2805
  setCustomAmount("");
2805
2806
  setIsCustom(false);
2806
2807
  mutation.reset();