new modification
This commit is contained in:
parent
24463d23ac
commit
ce5ef9b77c
|
@ -17,10 +17,11 @@ const InnovenergyTextfield = (props: I_InnovenergyTextfieldProps) => {
|
|||
const theme = useTheme();
|
||||
return (
|
||||
<Grid container direction="row" alignItems="center" spacing={2}>
|
||||
<Grid item xs={3}>
|
||||
<Grid item xs={2}>
|
||||
<InputLabel>{props.label}</InputLabel>
|
||||
|
||||
</Grid>
|
||||
<Grid item xs={9}>
|
||||
<Grid item xs={10}>
|
||||
<TextField
|
||||
color="secondary"
|
||||
id={props.id}
|
||||
|
@ -35,7 +36,6 @@ const InnovenergyTextfield = (props: I_InnovenergyTextfieldProps) => {
|
|||
borderRadius: 1,
|
||||
},
|
||||
my: 0.5,
|
||||
borderColor: "red",
|
||||
}}
|
||||
value={props.value || ""}
|
||||
onChange={props.handleChange}
|
||||
|
|
Loading…
Reference in New Issue