From 6d5cb6a951d6a9f7ea8d4cce8b49c5211991c10c Mon Sep 17 00:00:00 2001 From: Bogdan Bodnar Date: Tue, 17 Dec 2019 14:04:06 +0100 Subject: [PATCH] Export . --- src/bootstrap/RadioSet.js | 2 +- src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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";