esbenp / react-native-clean-form

Easy react-native forms using bootstrap-like syntax with redux-form+immutablejs integration. Styled using styled-components
http://esbenp.github.io/2017/01/06/react-native-redux-form-immutable-styled-components/
MIT License
478 stars 83 forks source link

Allows redux-form components to pass along other props #63

Open Vyz333 opened 6 years ago

Vyz333 commented 6 years ago

Quickfix to createInput.js, and now we can actually style the react-native-clean-form/redux-form Switch: There will be many reasons why developers may want these components to be able to receive props other than the ones passed along by createInput. I found this change to be a must if you want to be able to style the Switch component at all.