Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
michaldudak committed Sep 7, 2021
1 parent a885595 commit b677e23
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/src/pages/components/buttons/UnstyledButtonCustom.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import * as React from 'react';
import PropTypes from 'prop-types';
import ButtonUnstyled, {
buttonUnstyledClasses,
} from '@mui/core/ButtonUnstyled';
import ButtonUnstyled, { buttonUnstyledClasses } from '@mui/core/ButtonUnstyled';
import { styled } from '@mui/system';

const ButtonRoot = React.forwardRef(function ButtonRoot(props, ref) {
Expand Down Expand Up @@ -46,7 +44,7 @@ const CustomButtonRoot = styled(ButtonRoot)(
transition: all 800ms ease;
pointer-events: none;
}
& .bg {
stroke: var(--main-color);
stroke-width: 0.5;
Expand Down Expand Up @@ -78,7 +76,7 @@ const CustomButtonRoot = styled(ButtonRoot)(
outline: none;
}
&.${buttonUnstyledClasses.active} {
&.${buttonUnstyledClasses.active} {
& .bg {
fill: var(--active-color);
transition: fill 300ms ease-out;
Expand Down

0 comments on commit b677e23

Please sign in to comment.