I am using React Material UI Styled Component. I am trying to create a custom Input field. I want to pass always size='small'
as props to my component.
In other words, if the user forgets to pass size, it always takes small. Or if the user by mistake passes any other value other than small, still it always takes 'small' only.