-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
54 additions
and
56 deletions.
There are no files selected for viewing
20 changes: 12 additions & 8 deletions
20
packages/widget/src/components/PoweredBy/PoweredBy.style.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
import type { StyledComponent } from '@emotion/styled'; | ||
import type { LinkProps } from '@mui/material'; | ||
import { Link as MuiLink } from '@mui/material'; | ||
import { styled } from '@mui/material/styles'; | ||
|
||
export const Link = styled(MuiLink)(({ theme }) => ({ | ||
display: 'flex', | ||
alignItems: 'center', | ||
border: 'none', | ||
':hover': { | ||
color: theme.palette.primary.main, | ||
}, | ||
})); | ||
export const Link: StyledComponent<LinkProps> = styled(MuiLink)( | ||
({ theme }) => ({ | ||
display: 'flex', | ||
alignItems: 'center', | ||
border: 'none', | ||
':hover': { | ||
color: theme.palette.primary.main, | ||
}, | ||
}), | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
import type { StyledComponent } from '@emotion/styled'; | ||
import type { IconButtonProps, LinkProps } from '@mui/material'; | ||
import { IconButton } from '@mui/material'; | ||
import { styled } from '@mui/material/styles'; | ||
|
||
export const LinkButton = styled(IconButton)<IconButtonProps & LinkProps>( | ||
({ theme }) => ({ | ||
padding: theme.spacing(0.5), | ||
}), | ||
); | ||
export const LinkButton: StyledComponent<IconButtonProps & LinkProps> = styled( | ||
IconButton, | ||
)<IconButtonProps & LinkProps>(({ theme }) => ({ | ||
padding: theme.spacing(0.5), | ||
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters