AppState docs without deprecated API

This commit is contained in:
Nicolas Gallagher
2022-02-22 11:44:19 -08:00
parent da80ede2dc
commit ea87af27b2
@@ -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.
{% endcall %}
{% call macro.prop('removeEventListener', '(type: ?string, listener: (boolean) => void) => void') %}
Remove a listener from `AppState` changes.
{% endcall %}
---
## Examples