Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const InputField = ({
- label,
- ...others
- }) => {
- const classes = useStyles();
- return (
- <div className={classes.root}>
- <FormControl className={classes.margin}>
- <InputLabel className={classes.label} shrink htmlFor="bootstrap-input">
- {label}
- </InputLabel>
- <BootstrapInput {...others} />
- </FormControl>
- </div>
- )
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement