purescript-contrib / purescript-react

React Bindings for PureScript
MIT License
397 stars 65 forks source link

add `for` to React.DOM.Props #162

Closed Jwhiles closed 5 years ago

Jwhiles commented 5 years ago

This property is used to specify what element a html label refers to.

ethul commented 5 years ago

Thanks for the PR. I believe this is covered by htmlFor: https://github.com/purescript-contrib/purescript-react/blob/e059debf49515721537a109986dabeae70fe8284/src/React/DOM/Props.purs#L199-L200

Jwhiles commented 5 years ago

Yes! Sorry I missed that