diff options
Diffstat (limited to 'web/src/js/components/Modal/Option.jsx')
-rw-r--r-- | web/src/js/components/Modal/Option.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/src/js/components/Modal/Option.jsx b/web/src/js/components/Modal/Option.jsx index 1a847602..58b863d1 100644 --- a/web/src/js/components/Modal/Option.jsx +++ b/web/src/js/components/Modal/Option.jsx @@ -70,7 +70,7 @@ ChoicesOption.PropTypes = { value: PropTypes.string.isRequired, onChange: PropTypes.func.isRequired, } -function ChoicesOption({ value, onChange, choices, ...props }) { +export function ChoicesOption({ value, onChange, choices, ...props }) { return ( <select onChange={(e) => onChange(e.target.value)} @@ -100,7 +100,7 @@ function StringSequenceOption({ value, onChange, ...props }) { /> } -const Options = { +export const Options = { "bool": BooleanOption, "str": StringOption, "int": NumberOption, |