Skip to content

Commit

Permalink
Merge pull request react-bootstrap#668 from react-bootstrap/radio-addon
Browse files Browse the repository at this point in the history
Add input radio and checkbox addon examples
  • Loading branch information
AlexKVal committed May 15, 2015
2 parents f11c51f + 0afadbf commit fb9b3bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/examples/InputAddons.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ const innerDropdown = (
<MenuItem key='1'>Item</MenuItem>
</DropdownButton>
);
const innerRadio = <input type='radio' aria-label='...' />;
const innerCheckbox = <input type='checkbox' aria-label='...' />;

const inputAddonsInstance = (
<form>
Expand All @@ -14,6 +16,8 @@ const inputAddonsInstance = (
<Input type='text' addonAfter={innerGlyphicon} />
<Input type='text' buttonBefore={innerButton} />
<Input type='text' buttonAfter={innerDropdown} />
<Input type='text' addonBefore={innerRadio} />
<Input type='text' addonBefore={innerCheckbox} />
</form>
);

Expand Down

0 comments on commit fb9b3bf

Please sign in to comment.