react-bootstrap/react-bootstrap — pull request #178 by dozoisch (2014-08-02 06:24:43+00:00)
Title: Adding a way to override Input Addon wrapper

I was trying to make a "spinner" (up and down button) addon on an input and was having some issues because of the default wrapper class which is "input-group-addon".

This does not change the default behavior as "wrapAddon(Before|After)" defaults to true, but lets the user to override it if he wants to provide it's own wrapper.

One thing though, I wasn't sure about calling it "wrapAddon..." and add a "getDefaultProps" function OR find a better name that says the inverse so you don't need the getDefaultProps. I ended up doing the former because it looked more intuitive to me.

With this, it enables you to have so slick addons like

var addon = (

);

Let me know what you think about that