react-html-props
Advanced tools
Comparing version 1.0.20 to 1.0.21
{ | ||
"name": "react-html-props", | ||
"version": "1.0.20", | ||
"version": "1.0.21", | ||
"author": "Justin Mahar <contact@justinmahar.com>", | ||
"description": "Convenient TypeScript types for all HTML element React props.", | ||
"description": "Convenient TypeScript types for all React HTML props.", | ||
"homepage": "https://github.com/justinmahar/react-html-props", | ||
@@ -7,0 +7,0 @@ "main": "./dist/index.js", |
@@ -5,3 +5,3 @@ <h2 align="center"> | ||
<h3 align="center"> | ||
Convenient TypeScript types for all HTML element React props. | ||
Convenient TypeScript types for all React HTML props. | ||
</h3> | ||
@@ -18,3 +18,3 @@ <p align="center"> | ||
This package includes convenient [TypeScript](https://www.typescriptlang.org/) type definitions for all HTML element React props. | ||
This package includes convenient [TypeScript](https://www.typescriptlang.org/) type definitions for all React HTML props. | ||
@@ -33,8 +33,8 @@ For example, this allows you to use the type `DivProps` instead of: | ||
- **🧩 TypeScript types for all HTML element props** | ||
- Easily add types for HTML element props with simple names like `DivProps`. | ||
- **🧩 TypeScript types for all React HTML props** | ||
- Easily use types for HTML props with simple names like `DivProps`. | ||
- **🧠 Easy to remember** | ||
- Types start with the HTML element name, so you'll never end up scratching your head. | ||
- All types start with the HTML element name, so you'll never end up scratching your head. | ||
- **👍 Optional types without React ref** | ||
- Where needed, use types for props that don't inherit `ref` from `React.DetailedHTMLProps`. | ||
- Where needed, use `WithoutRef` types for props that don't inherit `ref` from `React.DetailedHTMLProps`. | ||
@@ -41,0 +41,0 @@ ## Installation |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49305