A customizable dialog modal component with platform-specific implementations for iOS and Android
Prop | Type | Required | Default | Description |
---|---|---|---|---|
title | string | Yes | - | Dialog title |
description | string | Yes | - | Dialog description |
onConfirm | () => void | No | () => {} | Confirmation handler |
bgColor | string | Yes | - | Background color |
children | React.ReactNode | Yes | - | Trigger component |
rightButton | string | Yes | - | Right button text |
isLoading | boolean | No | false | Loading state |
visible | boolean | Yes | - | Visibility state |
setVisible | (visible: boolean) => void | Yes | - | Visibility handler |
animationDuration | number | No | ANIMATION_DURATION.D3 | Animation duration |
BlurView
for background blur effect