@servicetitan/docs-anvil-uikit-contrib 26.0.0 → 26.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -190,6 +190,26 @@ export const customServerCode = `
190
190
 
191
191
  ## API Reference
192
192
 
193
+ ### Enabling notifications
194
+
195
+ To enable notifications in Frontend applications and MFEs, wrap the application and/or MFE entry points within a `<Notifications>` component. E.g.,
196
+
197
+ ```tsx
198
+ import { StrictMode } from 'react';
199
+ import { Notifications } from '@servicetitan/notifications';
200
+ import { AppRoutes } from './routes';
201
+
202
+ export const App: FC = () => {
203
+ return (
204
+ <StrictMode>
205
+ <Notifications>
206
+ <AppRoutes />
207
+ </Notifications>
208
+ </StrictMode>
209
+ );
210
+ };
211
+ ```
212
+
193
213
  ### NotificationCenter
194
214
 
195
215
  ```csharp
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servicetitan/docs-anvil-uikit-contrib",
3
- "version": "26.0.0",
3
+ "version": "26.2.0",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,5 +16,5 @@
16
16
  "cli": {
17
17
  "webpack": false
18
18
  },
19
- "gitHead": "2027b0cb3bb4a06b8e381e3e9af8469a30b20f11"
19
+ "gitHead": "2ab1ef6df0e13a53f749abeb243263b4594559ef"
20
20
  }