feat: create form with radio for user input

This commit is contained in:
karishmas6
2024-08-24 09:58:45 +05:30
parent bb179104c5
commit 91f5fa83b4

View File

@@ -112,7 +112,27 @@ export const InterpretationLog = () => {
</Highlight>
{
getList ? (
<>
<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
}
<div style={{ float: "left", clear: "both" }}