aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-11-30 19:05:51 +0800
committerFred Carlsen <fred@sjelfull.no>2018-11-30 19:05:51 +0800
commit849b7441856eff50375b46f4d88897c7029ae07b (patch)
tree44f7d669fbd0499d6d4f6783cbe999bf322890f5
parent7161e8fed9f64edaa3162642db89f4464b49e876 (diff)
downloaddexon-sol-tools-849b7441856eff50375b46f4d88897c7029ae07b.tar
dexon-sol-tools-849b7441856eff50375b46f4d88897c7029ae07b.tar.gz
dexon-sol-tools-849b7441856eff50375b46f4d88897c7029ae07b.tar.bz2
dexon-sol-tools-849b7441856eff50375b46f4d88897c7029ae07b.tar.lz
dexon-sol-tools-849b7441856eff50375b46f4d88897c7029ae07b.tar.xz
dexon-sol-tools-849b7441856eff50375b46f4d88897c7029ae07b.tar.zst
dexon-sol-tools-849b7441856eff50375b46f4d88897c7029ae07b.zip
Linting + typing
-rw-r--r--packages/website/ts/@next/components/button.tsx13
1 files changed, 7 insertions, 6 deletions
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<ButtonInterface> = 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<ButtonInterface>`