resetGroupState
Reset the state of a group in Arrow Navigation.
This function resets the state of a group. You can use this function to reset the state of a group to its initial state.
Syntax
import { getArrowNavigation } from '@arrow-navigation/core'
const navigationApi = getArrowNavigation()
navigationApi.resetGroupState(groupId)
Parameters
groupId
: The id of the group for which you want to reset the state. Docs
Returns
This function does not return anything.