@dracor/react 1.0.0-rc.5 → 1.0.0-rc.6

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
@@ -23,41 +23,10 @@ Tailwind theme and make the tailwind compiler aware of the utility classes the
23
23
  DraCor components are using:
24
24
 
25
25
  ```css
26
- @import "@dracor/react/dracor.css";
27
- @source "../node_modules/@dracor/react";
26
+ @import '@dracor/react/dracor.css';
27
+ @source '../node_modules/@dracor/react';
28
28
  ```
29
29
 
30
- ### React Helmet integration
31
-
32
- Several components optionally integrate with
33
- [React Helmet](https://github.com/staylor/react-helmet-async), which is a peer
34
- dependency of this package:
35
-
36
- ```sh
37
- npm i react-helmet-async
38
- ```
39
-
40
- If you intend to make use of this integration you need to set up the
41
- `HelmetProvider`:
42
-
43
- ```jsx
44
- // index.tsx
45
- import { HelmetProvider } from 'react-helmet-async';
46
- import App from './App';
47
-
48
- const root = ReactDOM.createRoot(
49
- document.getElementById('root') as HTMLElement
50
- );
51
-
52
- root.render(
53
- <HelmetProvider>
54
- <App />
55
- </HelmetProvider>
56
- )
57
- ```
58
-
59
- See https://github.com/staylor/react-helmet-async#usage for details.
60
-
61
30
  ## Publication
62
31
 
63
32
  To release a new version to npmjs.com you need to be a member of the
@@ -4,7 +4,7 @@ export interface Props {
4
4
  */
5
5
  url: string;
6
6
  /**
7
- * Optional page title passed to `Helmet`
7
+ * Optional page title
8
8
  */
9
9
  title?: string;
10
10
  }