Skip to content

Commit

Permalink
Add input radio and checkbox addon examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mtscout6 committed May 15, 2015
1 parent fecc2dc commit 0afadbf
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 0afadbf

Please sign in to comment.