react-headings 3.0.17 → 3.0.21
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 +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
|
-
# React Headings     
|
|
4
4
|
|
|
5
5
|
> Never worry about using the wrong heading level (`h1`, `h2`, etc.) in complex React apps!
|
|
6
6
|
|
|
@@ -35,7 +35,7 @@ References:
|
|
|
35
35
|
- Typed with TypeScript
|
|
36
36
|
- Fully tested
|
|
37
37
|
- Works with any CSS solutions (Tailwind, CSS-in-JS, etc.)
|
|
38
|
-
- Plays nicely with component
|
|
38
|
+
- Plays nicely with component libraries (Material UI, etc.)
|
|
39
39
|
- Follows [semantic versioning](https://semver.org/)
|
|
40
40
|
|
|
41
41
|
## Installation
|
|
@@ -146,9 +146,9 @@ function App() {
|
|
|
146
146
|
}
|
|
147
147
|
```
|
|
148
148
|
|
|
149
|
-
### Using component
|
|
149
|
+
### Using component libraries
|
|
150
150
|
|
|
151
|
-
Leveraging `Component` and `level` from the context allows the use of component
|
|
151
|
+
Leveraging `Component` and `level` from the context allows the use of component libraries.
|
|
152
152
|
Here's an example with [Material UI](https://material-ui.com/api/typography/):
|
|
153
153
|
|
|
154
154
|
```jsx
|