diff --git a/src/bootstrap/RadioSet.js b/src/bootstrap/RadioSet.js index 63af8f0..41f85de 100644 --- a/src/bootstrap/RadioSet.js +++ b/src/bootstrap/RadioSet.js @@ -65,7 +65,7 @@ Radio.propTypes = { helpText: PropTypes.string, }; -function Radio({ +export function Radio({ label, id, helpText, ...props }) { return ( diff --git a/src/index.js b/src/index.js index 149a74b..645ca1d 100644 --- a/src/index.js +++ b/src/index.js @@ -27,7 +27,7 @@ export { FileInput } from "bootstrap/FileInput"; export { Input } from "bootstrap/Input"; export { NumberInput } from "bootstrap/NumberInput"; export { PasswordInput } from "bootstrap/PasswordInput"; -export { RadioSet } from "bootstrap/RadioSet"; +export { Radio, RadioSet } from "bootstrap/RadioSet"; export { Select } from "bootstrap/Select"; export { TextInput } from "bootstrap/TextInput"; export { formFieldsSize } from "bootstrap/constants";