Skip to content

Commit

Permalink
forward custom state
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Feb 17, 2021
1 parent a7541b2 commit 59ea06d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/material-ui/src/Input/Input.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,12 @@ const Input = React.forwardRef(function Input(inProps, ref) {

const classes = useUtilityClasses(props);

const styleProps = { disableUnderline };

return (
<InputBase
components={{ Root: InputRoot }}
componentsProps={{ root: { styleProps } }}
fullWidth={fullWidth}
inputComponent={inputComponent}
multiline={multiline}
Expand Down

0 comments on commit 59ea06d

Please sign in to comment.