forked from react-bootstrap/react-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[added] bsSize prop to Input, supporting input groups
This allows for specifying a size, such as 'small' or 'large', such as: <Input type="text" placeholder="Search" bsSize="small" buttonAfter={<Button><Glyphicon glyph="search" /></Button>} /> (Input groups are enabled whenever these props have values: addonBefore, addonAfter, buttonBefore, or buttonAfter) This maps to the "input-group-sm" and "input-group-lg" classes as documented here: http://getbootstrap.com/components/#input-groups-sizing
- Loading branch information
Matthew Scott
committed
Mar 3, 2015
1 parent
35d39ba
commit 71ff264
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters