Updates the label and header text at runtime. Accepts an object or an updater function.
alerts.setConfig({ label: 'Subscribe', headerText: 'Get notified about new jobs' });// Or use an updater functionalerts.setConfig(prev => ({ ...prev, label: 'Updated label' }));