From 849b7441856eff50375b46f4d88897c7029ae07b Mon Sep 17 00:00:00 2001 From: Fred Carlsen Date: Fri, 30 Nov 2018 12:05:51 +0100 Subject: Linting + typing --- packages/website/ts/@next/components/button.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'packages/website') diff --git a/packages/website/ts/@next/components/button.tsx b/packages/website/ts/@next/components/button.tsx index 2e8fd03cf..89d1114fd 100644 --- a/packages/website/ts/@next/components/button.tsx +++ b/packages/website/ts/@next/components/button.tsx @@ -6,6 +6,7 @@ import { colors } from 'ts/style/colors'; interface ButtonInterface { children: Node | string; transparent?: any; + hasIcon?: any; inline?: any; href?: string; onClick?: () => void; @@ -19,12 +20,12 @@ export const Button: React.StatelessComponent = props => { // Added this, & + & doesnt really work since we switch with element types... export const ButtonWrap = styled.div` - button + button, - a + a, - a + button, - button + a { - margin-left: 10px; - } + button + button, + a + a, + a + button, + button + a { + margin-left: 10px; + } `; const StyledButton = styled.button` -- cgit v1.2.3