Skip to content

Commit

Permalink
minor adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Apr 29, 2021
1 parent aed10ec commit a423b95
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const PickersToolbarTextRoot = experimentalStyled<
const PickersToolbarText = React.forwardRef<HTMLSpanElement, PickersToolbarTextProps>(
function PickersToolbarText(inProps, ref) {
const props = useThemeProps({ props: inProps, name: 'MuiPickersToolbarText' });
const { component = 'span', className, selected, value, ...other } = props;
const { className, selected, value, ...other } = props;
const styleProps = { ...props };

const classes = useUtilityClasses(styleProps);
Expand All @@ -64,7 +64,7 @@ const PickersToolbarText = React.forwardRef<HTMLSpanElement, PickersToolbarTextP
<PickersToolbarTextRoot
ref={ref}
className={clsx(classes.root, className)}
component={component}
component="span"
styleProps={styleProps}
{...other}
>
Expand Down

0 comments on commit a423b95

Please sign in to comment.