import Snack from './snack/index.md'

<!-- To show the guide to configure the Dialog Component to a project.
This is not added as description in comments of the component so is added here. -->

<Snack />

> **Web-platform specific note**:
>
> You **must** pass a valid React Native [`Modal`](https://reactnative.dev/docs/modal) component implementation
> into [`ModalComponent`](#modalcomponent) prop because `Modal` component is not implemented yet in `react-native-web`

```jsx
...
import Modal from 'modal-react-native-web';

...

<Dialog ModalComponent={Modal} ... />
...
```
