Skip to content

Commit

Permalink
Fix customization demos
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrookes committed Nov 13, 2020
1 parent ce5b3f3 commit 4d3b03d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions docs/src/pages/components/text-fields/CustomizedInputs.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ function RedditTextField(props) {
<TextField
InputProps={{ classes, disableUnderline: true }}
{...props}
variant="standard"
/>
);
}
Expand Down Expand Up @@ -153,11 +152,11 @@ export default function CustomizedInputs() {
className={classes.margin}
id="custom-css-standard-input"
label="Custom CSS"
variant="standard"
/>
<CssTextField
className={classes.margin}
label="Custom CSS"
variant="outlined"
id="custom-css-outlined-input"
/>
<ThemeProvider theme={newTheme}>
Expand Down Expand Up @@ -195,7 +194,6 @@ export default function CustomizedInputs() {
className={classes.margin}
label="CSS validation style"
required
variant="outlined"
defaultValue="Success"
id="validation-outlined-input"
/>
Expand Down
3 changes: 1 addition & 2 deletions docs/src/pages/components/text-fields/CustomizedInputs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ function RedditTextField(props: TextFieldProps) {
{ classes, disableUnderline: true } as Partial<OutlinedInputProps>
}
{...props}
variant="standard"
/>
);
}
Expand Down Expand Up @@ -164,11 +163,11 @@ export default function CustomizedInputs() {
className={classes.margin}
id="custom-css-standard-input"
label="Custom CSS"
variant="standard"
/>
<CssTextField
className={classes.margin}
label="Custom CSS"
variant="outlined"
id="custom-css-outlined-input"
/>
<ThemeProvider theme={newTheme}>
Expand Down

0 comments on commit 4d3b03d

Please sign in to comment.