diff options
Diffstat (limited to 'packages/website/ts/@next/components/button.tsx')
-rw-r--r-- | packages/website/ts/@next/components/button.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/website/ts/@next/components/button.tsx b/packages/website/ts/@next/components/button.tsx index db6c5d5c2..3f14b59bd 100644 --- a/packages/website/ts/@next/components/button.tsx +++ b/packages/website/ts/@next/components/button.tsx @@ -16,7 +16,6 @@ interface ButtonInterface { isWithArrow?: boolean; isAccentColor?: boolean; hasIcon?: boolean | string; - isInline?: boolean; href?: string; onClick?: () => any; theme?: { @@ -27,7 +26,7 @@ interface ButtonInterface { export const Button = styled.button<ButtonInterface>` appearance: none; border: ${props => !props.isNoBorder && `1px solid transparent`}; - display: ${props => props.isInline && 'inline-block'}; + display: inline-block; background-color: ${props => (!props.isTransparent || props.bgColor) ? (props.bgColor || colors.brandLight) : 'transparent'}; border-color: ${props => (props.isTransparent && !props.isWithArrow) && '#6a6a6a'}; color: ${props => props.isAccentColor ? props.theme.linkColor : (props.color || props.theme.textColor)}; |