react-html-props
Advanced tools
Comparing version 1.0.30 to 1.0.31
{ | ||
"name": "react-html-props", | ||
"version": "1.0.30", | ||
"version": "1.0.31", | ||
"author": "Justin Mahar <contact@justinmahar.com>", | ||
@@ -5,0 +5,0 @@ "description": "Convenient TypeScript types for all React HTML props.", |
@@ -76,5 +76,5 @@ <h2 align="center"> | ||
## Unpacking Attributes | ||
## Unpacking Props | ||
We can use [object destructuring](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment#object_destructuring) and the [spread operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax) to unpack attributes, such as `children`, from the rest of an element's props. | ||
We can use [object destructuring](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment#object_destructuring) and the [spread operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax) to unpack props, such as `children`, from the rest of an element's props. | ||
@@ -81,0 +81,0 @@ Using `div` as an example again: |
49684