react-html-props
Advanced tools
Comparing version 1.0.10 to 1.0.11
@@ -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>; |
{ | ||
"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.", |
147
README.md
@@ -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. |
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
33689
287
235