Skip to content

Commit fb9b3bf

Browse files
committed
Merge pull request react-bootstrap#668 from react-bootstrap/radio-addon
Add input radio and checkbox addon examples
2 parents f11c51f + 0afadbf commit fb9b3bf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/examples/InputAddons.js

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ const innerDropdown = (
55
<MenuItem key='1'>Item</MenuItem>
66
</DropdownButton>
77
);
8+
const innerRadio = <input type='radio' aria-label='...' />;
9+
const innerCheckbox = <input type='checkbox' aria-label='...' />;
810

911
const inputAddonsInstance = (
1012
<form>
@@ -14,6 +16,8 @@ const inputAddonsInstance = (
1416
<Input type='text' addonAfter={innerGlyphicon} />
1517
<Input type='text' buttonBefore={innerButton} />
1618
<Input type='text' buttonAfter={innerDropdown} />
19+
<Input type='text' addonBefore={innerRadio} />
20+
<Input type='text' addonBefore={innerCheckbox} />
1721
</form>
1822
);
1923

0 commit comments

Comments
 (0)