bootstrap-switch-button-react
                                
                                 bootstrap-switch-button-react copied to clipboard
                                
                                    bootstrap-switch-button-react copied to clipboard
                            
                            
                            
                        Style prop value must be an object
I get this warning when I use the style prop
Style prop value must be an object
would it be correct to have a prop className?
As documentation says for style property:
Appends the provided value to the switch button's class attribute. Use this to apply custom styles to the switch button. 
I think it should have been called className or something. It happened to me the same when I tried to add inline styles.
Some people have already tried to solve it in: #12 #28