@servicetitan/docs-uikit 34.2.0 → 34.3.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.
- package/docs/lazy-module.mdx +1 -1
- package/docs/react-ioc.mdx +1 -1
- package/package.json +2 -2
package/docs/lazy-module.mdx
CHANGED
|
@@ -42,7 +42,7 @@ export const DispatchModule: React.FC = () => <LazyDispatch />;
|
|
|
42
42
|
| :----------------------- | :---------------------------------------- | :----------------------------------------------------------------- | :------------------------------------------------------------- |
|
|
43
43
|
| `loader` | `() => Promise<React.ComponentType<any>>` | Function doing dynamic import of a module | Yes |
|
|
44
44
|
| `name` | `string` | Module name | Yes |
|
|
45
|
-
| `loadingComponent` | `React.ComponentType<any>` | Component to
|
|
45
|
+
| `loadingComponent` | `React.ComponentType<any>` | Component to display while loading is in progress | No, defaults to `DefaultLoading` |
|
|
46
46
|
| `loadingErrorComponent` | `React.ComponentType<any>` | Component to display if module loading fails | No, defaults to `DefaultLoadingError` |
|
|
47
47
|
| `errorFallbackComponent` | `React.ComponentType<any>` | Component to pass to `@servicetitan/error-boundary` module wrapper | No, uses default component from `@servicetitan/error-boundary` |
|
|
48
48
|
|
package/docs/react-ioc.mdx
CHANGED
|
@@ -42,7 +42,7 @@ const store = container.get(Store);
|
|
|
42
42
|
|
|
43
43
|
A decorator used to inject the required information in the current level of hierarchy.
|
|
44
44
|
|
|
45
|
-
_NOTE:_ `@provide` creates new InversifyJS container with a link to a parent one meaning that all React components below `@provide` will try to resolve stores from closest container first. Using this mechanism you can re-provide the same store just for the sub-part of React component tree if needed. More info about
|
|
45
|
+
_NOTE:_ `@provide` creates new InversifyJS container with a link to a parent one meaning that all React components below `@provide` will try to resolve stores from closest container first. Using this mechanism you can re-provide the same store just for the sub-part of React component tree if needed. More info about hierarchical DI can be found [here](https://github.com/inversify/InversifyJS/blob/master/wiki/hierarchical_di.md).
|
|
46
46
|
|
|
47
47
|
```tsx
|
|
48
48
|
const Component: React.FC = provide({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@servicetitan/docs-uikit",
|
|
3
|
-
"version": "34.
|
|
3
|
+
"version": "34.3.0",
|
|
4
4
|
"description": "Documentation content for Uikit packages published at docs.st.dev",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
"cli": {
|
|
17
17
|
"webpack": false
|
|
18
18
|
},
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "0ca13bccd0abdbcbda28f08829ef38bde4caa927"
|
|
20
20
|
}
|