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.10 to 1.0.11

2

dist/index.d.ts

@@ -28,2 +28,4 @@ import * as React from 'react';

export declare type DLPropsWithRef = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDListElement>, HTMLDListElement>;
export declare type ElementProps = React.HTMLAttributes<HTMLElement>;
export declare type ElementPropsWithRef = React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
export declare type EmbedProps = React.HTMLAttributes<HTMLEmbedElement>;

@@ -30,0 +32,0 @@ export declare type EmbedPropsWithRef = React.DetailedHTMLProps<React.HTMLAttributes<HTMLEmbedElement>, HTMLEmbedElement>;

2

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

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

@@ -103,75 +103,76 @@ <h2 align="center">

| HTML Element | Props Type To Use |
| ------------ | --------------------------------- |
| `anchor` | `AnchorProps` |
| `area` | `AreaProps` |
| `audio` | `AudioProps` |
| `base` | `BaseProps` |
| `body` | `BodyProps` |
| `br` | `BRProps` |
| `button` | `ButtonProps` |
| `canvas` | `CanvasProps` |
| `data` | `DataProps` |
| `datalist` | `DataListProps` |
| `dialog` | `DialogProps` |
| `div` | `DivProps` |
| `dl` | `DLProps` |
| `embed` | `EmbedProps` |
| `fieldset` | `FieldSetProps` |
| `form` | `FormProps` |
| `h1` | `H1Props`, `HeadingProps` |
| `h2` | `H2Props`, `HeadingProps` |
| `h3` | `H3Props`, `HeadingProps` |
| `h4` | `H4Props`, `HeadingProps` |
| `h5` | `H5Props`, `HeadingProps` |
| `h6` | `H6Props`, `HeadingProps` |
| `head` | `HeadProps` |
| `hr` | `HRProps` |
| `html` | `HtmlProps` |
| `iframe` | `IFrameProps` |
| `img` | `ImgProps` |
| `input` | `InputProps` |
| `ins` | `InsProps`, `ModProps` |
| `del` | `DelProps`, `ModProps` |
| `label` | `LabelProps` |
| `legend` | `LegendProps` |
| `li` | `LIProps` |
| `link` | `LinkProps` |
| `map` | `MapProps` |
| `meta` | `MetaProps` |
| `object` | `ObjectProps` |
| `ol` | `OLProps` |
| `optgroup` | `OptGroupProps` |
| `option` | `OptionProps` |
| `p` | `PProps`, `ParagraphProps` |
| `param` | `ParamProps` |
| `pre` | `PreProps` |
| `progress` | `ProgressProps` |
| `blockquote` | `BlockQuoteProps`, `QuoteProps` |
| `q` | `QProps`, `QuoteProps` |
| `cite` | `CiteProps`, `QuoteProps` |
| `slot` | `SlotProps` |
| `script` | `ScriptProps` |
| `noscript` | `NoScriptProps`, `ScriptProps` |
| `select` | `SelectProps` |
| `source` | `SourceProps` |
| `span` | `SpanProps` |
| `style` | `StyleProps` |
| `svg` | `SVGProps` |
| `table` | `TableProps` |
| `col` | `ColProps`, `TableColProps` |
| `colgroup` | `ColGroupProps`, `TableColProps` |
| `td` | `TDProps`, `TableDataCellProps` |
| `th` | `THProps`, `TableHeaderCellProps` |
| `tr` | `TRProps`, `TableRowProps` |
| `thead` | `THeadProps`, `TableSectionProps` |
| `tbody` | `TBodyProps`, `TableSectionProps` |
| `tfoot` | `TFootProps`, `TableSectionProps` |
| `template` | `TemplateProps` |
| `textarea` | `TextAreaProps` |
| `title` | `TitleProps` |
| `track` | `TrackProps` |
| `ul` | `ULProps` |
| `video` | `VideoProps` |
| `webview` | `WebViewProps` |
| HTML Element | Props Type To Use |
| -------------------- | --------------------------------- |
| `a` | `AProps`, `AnchorProps` |
| `area` | `AreaProps` |
| `audio` | `AudioProps` |
| `base` | `BaseProps` |
| `body` | `BodyProps` |
| `br` | `BRProps` |
| `button` | `ButtonProps` |
| `canvas` | `CanvasProps` |
| `data` | `DataProps` |
| `datalist` | `DataListProps` |
| `dialog` | `DialogProps` |
| `div` | `DivProps` |
| `dl` | `DLProps` |
| `embed` | `EmbedProps` |
| `fieldset` | `FieldSetProps` |
| `form` | `FormProps` |
| `h1` | `H1Props`, `HeadingProps` |
| `h2` | `H2Props`, `HeadingProps` |
| `h3` | `H3Props`, `HeadingProps` |
| `h4` | `H4Props`, `HeadingProps` |
| `h5` | `H5Props`, `HeadingProps` |
| `h6` | `H6Props`, `HeadingProps` |
| `head` | `HeadProps` |
| `hr` | `HRProps` |
| `html` | `HtmlProps` |
| `iframe` | `IFrameProps` |
| `img` | `ImgProps` |
| `input` | `InputProps` |
| `ins` | `InsProps`, `ModProps` |
| `del` | `DelProps`, `ModProps` |
| `label` | `LabelProps` |
| `legend` | `LegendProps` |
| `li` | `LIProps` |
| `link` | `LinkProps` |
| `map` | `MapProps` |
| `meta` | `MetaProps` |
| `object` | `ObjectProps` |
| `ol` | `OLProps` |
| `optgroup` | `OptGroupProps` |
| `option` | `OptionProps` |
| `p` | `PProps`, `ParagraphProps` |
| `param` | `ParamProps` |
| `pre` | `PreProps` |
| `progress` | `ProgressProps` |
| `blockquote` | `BlockQuoteProps`, `QuoteProps` |
| `q` | `QProps`, `QuoteProps` |
| `cite` | `CiteProps`, `QuoteProps` |
| `slot` | `SlotProps` |
| `script` | `ScriptProps` |
| `noscript` | `NoScriptProps`, `ScriptProps` |
| `select` | `SelectProps` |
| `source` | `SourceProps` |
| `span` | `SpanProps` |
| `style` | `StyleProps` |
| `svg` | `SVGProps` |
| `table` | `TableProps` |
| `col` | `ColProps`, `TableColProps` |
| `colgroup` | `ColGroupProps`, `TableColProps` |
| `td` | `TDProps`, `TableDataCellProps` |
| `th` | `THProps`, `TableHeaderCellProps` |
| `tr` | `TRProps`, `TableRowProps` |
| `thead` | `THeadProps`, `TableSectionProps` |
| `tbody` | `TBodyProps`, `TableSectionProps` |
| `tfoot` | `TFootProps`, `TableSectionProps` |
| `template` | `TemplateProps` |
| `textarea` | `TextAreaProps` |
| `title` | `TitleProps` |
| `track` | `TrackProps` |
| `ul` | `ULProps` |
| `video` | `VideoProps` |
| `webview` | `WebViewProps` |
| Generic HTML Element | `ElementProps` |

@@ -178,0 +179,0 @@ > All types have a `WithRef` option that includes a `ref` field. See below.

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