You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... is the spread operator. React's implementation takes the properties of the object and expands them into component properties. It is used to handle all possible component properties that may or may not be getting used in any instance.
i see...interesting. I see that allowed me to use TextField just like another , and it knows to pass the props to the input inside the component. Pretty awesome trick.
I am trying to pass some custom input props to Textfield,
seeing the source here: https://github.com/callemall/material-ui/blob/master/src/text-field.jsx#L241
But I am not sure what {... does....is it using the local var values on Parent element or it is taking the inputProps as a prop I can set as part of
The text was updated successfully, but these errors were encountered: