Add classname prop to textfield root
In @pubsweet/ui
, since we are exporting a react component, we should add the className
prop to the TextField
's root. Otherwise styled(TextField)
has no effect on the component's styles.
In @pubsweet/ui
, since we are exporting a react component, we should add the className
prop to the TextField
's root. Otherwise styled(TextField)
has no effect on the component's styles.