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.8 to 1.0.9

2

package.json
{
"name": "react-html-props",
"version": "1.0.8",
"version": "1.0.9",
"author": "Justin Mahar <contact@justinmahar.com>",

@@ -5,0 +5,0 @@ "description": "Convenience TypeScript type definitions for all HTML element props.",

@@ -25,4 +25,8 @@ <h2 align="center">

- **🛩ī¸ Convenience TypeScript HTMLAttributes prop types for all HTML elements**
- Easily reference props for any HTML element with shorthand like `DivProps`.
- **🛩ī¸ TypeScript types for all HTML element props**
- Easily reference props for any HTML element with simple names like `DivProps`.
- **🧠 Easy to remember**
- Types start with the HTML element name, so you'll never end up scratching your head.
- **👍 Optional types for React ref**
- Where needed, use types for props inheriting `ref` from `React.DetailedHTMLProps`.

@@ -190,3 +194,3 @@ ## Installation

A `ref` may not always be applicable, so it remains optional to give you the flexibility.
> A `ref` may not always be applicable, so it remains optional to give you the flexibility. For instance, components returned by [`styled-components`](https://styled-components.com/) do not support a `ref`.

@@ -193,0 +197,0 @@ ## TypeScript

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