| Total Complexity | 1 |
| Complexity/F | 1 |
| Lines of Code | 19 |
| Function Count | 1 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | import { styled } from '@material-ui/core/styles' |
||
| 2 | |||
| 3 | 7 | const Button = styled('a')(({ theme }) => ({ |
|
| 4 | fontSize: theme.fontSizes.base, |
||
| 5 | textDecoration: 'none', |
||
| 6 | textTransform: 'uppercase', |
||
| 7 | background: theme.colors.primary, |
||
| 8 | display: 'inline-block', |
||
| 9 | padding: '15px 30px', |
||
| 10 | borderRadius: '40px', |
||
| 11 | color: theme.colors.primaryBg, |
||
| 12 | fontWeight: '700', |
||
| 13 | boxShadow: `0 4px 15px -5px ${theme.colors.primary}`, |
||
| 14 | border: 'none', |
||
| 15 | margin: `${theme.spaces.xsmall}px`, |
||
| 16 | cursor: 'pointer' |
||
| 17 | })) |
||
| 18 | |||
| 19 | export default Button |
||
| 20 |