Skip to content

updateConfig


ts
import { updateConfig } from 'notivue'

Reference to the update method of the config object returned by useNotivue. It can be used to update the configuration from outside your components.

Interfaces

ts
declare function updateConfig(param: UpdateParam): void

type UpdateParam =
  | NotivueConfig
  | ((config: NotivueConfigRequired) => NotivueConfig)