Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-html-props

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-html-props - npm Package Compare versions

Comparing version 1.0.20 to 1.0.21

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc