Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
Ring
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
メインコンテンツへスキップ
The Modal component is a basic way to present content above an enclosing view.

Example


Reference

Props

View props

Inherits View Props.

onDismiss

The onDismiss prop allows passing a function that will be called once the modal has been dismissed.

onRequestClose

The onRequestClose callback is called when the user taps the hardware back button on Android or the menu button on Apple TV. Because of this required prop, be aware that BackHandler events will not be emitted as long as the modal is open.

onShow

The onShow prop allows passing a function that will be called once the modal has been shown.

transparent

The transparent prop determines whether your modal will fill the entire view. Setting this to true will render the modal over a transparent background.

visible

The visible prop determines whether your modal is visible.
最終更新日 2026年10月26日