mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-03 18:52:07 +00:00
AppState docs without deprecated API
This commit is contained in:
@@ -40,10 +40,6 @@ Returns the current state of the app.
|
|||||||
Add a listener to `AppState` changes. Listen to the `"change"` event type. The handler is called with the app state value.
|
Add a listener to `AppState` changes. Listen to the `"change"` event type. The handler is called with the app state value.
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
|
|
||||||
{% call macro.prop('removeEventListener', '(type: ?string, listener: (boolean) => void) => void') %}
|
|
||||||
Remove a listener from `AppState` changes.
|
|
||||||
{% endcall %}
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|||||||
Reference in New Issue
Block a user