updateGroup

Update the properties of a group in Arrow Navigation.

This function updates the properties of the specified group. You can use this function to programmatically update the properties of a group in your application.

Syntax

import { getArrowNavigation } from '@arrow-navigation/core'

const navigationApi = getArrowNavigation()

navigationApi.updateGroup('group-id', {
  // Group Config
})

Parameters

NameTypeDescription
group-idstringThe id of the group to update.
configobjectThe properties to update. See the options