Package Exports
- react-known-props
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-known-props) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
React Known Props
A list of html attributes and events used in React. Because you may want to test props against these.
Usage
install with
yarn add react-known-propsthen use with
import knownProps from 'react-known-props'The props are in an array.
console.log(knownProps)
//logs
[ 'abbr',
'accept',
'acceptCharset',
'accessKey',
'action',
'allowFullScreen',
'allowTransparency',
'alt',
'async',
(...)About 200 props.