@altertable/data-app-react 0.77.0 → 0.79.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/README.md CHANGED
@@ -16,7 +16,7 @@ Mount a simple static screen into an element with `id="root"`:
16
16
 
17
17
  ```tsx
18
18
  import { defineDataApp } from '@altertable/data-app';
19
- import { injectDataAppStyles, mountDataApp } from '@altertable/data-app-react';
19
+ import { mountDataApp } from '@altertable/data-app-react';
20
20
  import { MetricWidget } from '@altertable/data-app-react/ui';
21
21
 
22
22
  const dataApp = defineDataApp({
@@ -36,13 +36,12 @@ function App() {
36
36
  );
37
37
  }
38
38
 
39
- injectDataAppStyles();
40
39
  mountDataApp({ app: dataApp, component: App });
41
40
  ```
42
41
 
43
42
  Use the main entry for declared views, bound widgets, and layouts; `/ui` supports
44
- setup screens, static content, and custom composition. Install styles explicitly
45
- with `injectDataAppStyles()`.
43
+ setup screens, static content, and custom composition. When mounting
44
+ `DataAppProvider` yourself, install styles with `injectDataAppStyles()`.
46
45
 
47
46
  To host an app iframe, use `@altertable/data-app-embed/react`.
48
47