feat: create form with radio for user input
This commit is contained in:
@@ -112,7 +112,27 @@ export const InterpretationLog = () => {
|
|||||||
</Highlight>
|
</Highlight>
|
||||||
{
|
{
|
||||||
getList ? (
|
getList ? (
|
||||||
|
<>
|
||||||
<p>What is the maximum number of rows you want to extract?</p>
|
<p>What is the maximum number of rows you want to extract?</p>
|
||||||
|
<FormControl>
|
||||||
|
<FormLabel id="demo-row-radio-buttons-group-label">Gender</FormLabel>
|
||||||
|
<RadioGroup
|
||||||
|
row
|
||||||
|
aria-labelledby="demo-row-radio-buttons-group-label"
|
||||||
|
name="row-radio-buttons-group"
|
||||||
|
>
|
||||||
|
<FormControlLabel value="female" control={<Radio />} label="Female" />
|
||||||
|
<FormControlLabel value="male" control={<Radio />} label="Male" />
|
||||||
|
<FormControlLabel value="other" control={<Radio />} label="Other" />
|
||||||
|
<FormControlLabel
|
||||||
|
value="disabled"
|
||||||
|
disabled
|
||||||
|
control={<Radio />}
|
||||||
|
label="other"
|
||||||
|
/>
|
||||||
|
</RadioGroup>
|
||||||
|
</FormControl>
|
||||||
|
</>
|
||||||
) : null
|
) : null
|
||||||
}
|
}
|
||||||
<div style={{ float: "left", clear: "both" }}
|
<div style={{ float: "left", clear: "both" }}
|
||||||
|
|||||||
Reference in New Issue
Block a user