react-html-props
Advanced tools
Comparing version 1.0.25 to 1.0.26
{ | ||
"name": "react-html-props", | ||
"version": "1.0.25", | ||
"version": "1.0.26", | ||
"author": "Justin Mahar <contact@justinmahar.com>", | ||
@@ -5,0 +5,0 @@ "description": "Convenient TypeScript types for all React HTML props.", |
@@ -61,9 +61,11 @@ <h2 align="center"> | ||
```tsx | ||
<MyComponent | ||
className="text-center" | ||
style={{ background: 'blue', color: 'white' }} | ||
onClick={() => console.log('Get schwifty!')} | ||
> | ||
Show me what you got | ||
</MyComponent> | ||
const render = () => ( | ||
<MyComponent | ||
className="text-center" | ||
style={{ background: 'blue', color: 'white' }} | ||
onClick={() => console.log('Get schwifty!')} | ||
> | ||
Show me what you got | ||
</MyComponent> | ||
); | ||
``` | ||
@@ -70,0 +72,0 @@ |
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
49785
256