diff options
author | Fred Carlsen <fred@sjelfull.no> | 2018-12-14 18:26:59 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-14 18:34:14 +0800 |
commit | 66480ccb1e0dc72e6716060ab472b7584bfa910c (patch) | |
tree | ae43b6ac036cbf7d956f9da02a14e43af301b854 /packages/website/ts/@next/components/button.tsx | |
parent | 7a10f034960b0cbb0d39b2680e69f58e5c19ea61 (diff) | |
download | dexon-sol-tools-66480ccb1e0dc72e6716060ab472b7584bfa910c.tar.gz dexon-sol-tools-66480ccb1e0dc72e6716060ab472b7584bfa910c.tar.zst dexon-sol-tools-66480ccb1e0dc72e6716060ab472b7584bfa910c.zip |
Linting fixes
Diffstat (limited to 'packages/website/ts/@next/components/button.tsx')
-rw-r--r-- | packages/website/ts/@next/components/button.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/website/ts/@next/components/button.tsx b/packages/website/ts/@next/components/button.tsx index cca4d1382..4c646e199 100644 --- a/packages/website/ts/@next/components/button.tsx +++ b/packages/website/ts/@next/components/button.tsx @@ -16,6 +16,7 @@ interface ButtonInterface { hasIcon?: boolean | string; isInline?: boolean; href?: string; + type?: string; to?: string; onClick?: () => any; theme?: { @@ -57,7 +58,7 @@ const ButtonBase = styled.button<ButtonInterface>` border: 1px solid transparent; display: inline-block; background-color: ${props => props.bgColor || colors.brandLight}; - background-color: ${props => (props.isTransparent || props.isWithArrow) && 'transparent'} + background-color: ${props => (props.isTransparent || props.isWithArrow) && 'transparent'}; border-color: ${props => (props.isTransparent && !props.isWithArrow) && 'rgba(255, 255, 255, .4)'}; color: ${props => props.isAccentColor ? props.theme.linkColor : (props.color || props.theme.textColor)}; padding: ${props => (!props.isNoPadding && !props.isWithArrow) && '18px 30px'}; |