Package Exports
- pick-react-known-prop
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 (pick-react-known-prop) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
pick-react-known-prop
Picks only known React DOM props (attributes) from passed object, filters unknown [?]
import {pickHTMLProps, pickSVGProps} from 'pick-react-known-prop'
//...
return <div {...pickHTMLProps(props)} />
return <path {...pickSVGProps(props)} />