feat: add operator info page

feat: save/load operator info

feat: add formik switch component

feat: add input validation

fix: correct formik switch behaviour

fix: change infoCardEnabled to a radio input

style: move styles out of js

feat: add error feedback
This commit is contained in:
Luis Félix 2020-01-15 22:41:47 +00:00 committed by Josh Harvey
parent b9d2341cd1
commit 7b59e36cb4
10 changed files with 516 additions and 18 deletions

View file

@ -48,12 +48,12 @@ const RadioGroup = ({
value={value}
onChange={onChange}
className={classnames(className)}>
{options.map((options, idx) => (
{options.map((option, idx) => (
<Label
key={idx}
value={options.value}
value={option.value}
control={<GreenRadio />}
label={options.label}
label={option.label}
/>
))}
</MaterialRadioGroup>