This package converts HTML DOM Attributes to React Props using the mapping between HTML attributes and React props used in the React DOM library.
This means changing the name from font-size
to fontSize
, and actually make boolean values true booleans for the attributes that support it.
It will let all unknown attributes pass without modification.
hyperlab/html-dom-attributes-to-react-props
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Convert HTML DOM attributes to React props
Resources
Stars
Watchers
Forks
Packages 0
No packages published