aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components/logo.tsx
diff options
context:
space:
mode:
authorEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-12-03 19:19:50 +0800
committerEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-12-03 19:19:50 +0800
commit7f77347ea4537b66f045140bd5aa1995c3b2d948 (patch)
tree8d9e26289bb52296a1ad51a2ca1add55e87c60c2 /packages/website/ts/@next/components/logo.tsx
parent9ed30fbcca669d27ba56ccadc1597ab41129ca73 (diff)
downloaddexon-0x-contracts-7f77347ea4537b66f045140bd5aa1995c3b2d948.tar
dexon-0x-contracts-7f77347ea4537b66f045140bd5aa1995c3b2d948.tar.gz
dexon-0x-contracts-7f77347ea4537b66f045140bd5aa1995c3b2d948.tar.bz2
dexon-0x-contracts-7f77347ea4537b66f045140bd5aa1995c3b2d948.tar.lz
dexon-0x-contracts-7f77347ea4537b66f045140bd5aa1995c3b2d948.tar.xz
dexon-0x-contracts-7f77347ea4537b66f045140bd5aa1995c3b2d948.tar.zst
dexon-0x-contracts-7f77347ea4537b66f045140bd5aa1995c3b2d948.zip
Changes boolean props to follow is[Property] syntax
Diffstat (limited to 'packages/website/ts/@next/components/logo.tsx')
-rw-r--r--packages/website/ts/@next/components/logo.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/website/ts/@next/components/logo.tsx b/packages/website/ts/@next/components/logo.tsx
index 0b98fcf9d..5d6258f37 100644
--- a/packages/website/ts/@next/components/logo.tsx
+++ b/packages/website/ts/@next/components/logo.tsx
@@ -1,11 +1,12 @@
import * as React from 'react';
import styled from 'styled-components';
+import { ThemeInterface } from 'ts/@next/components/siteWrap';
import LogoIcon from '../icons/logo-with-type.svg';
interface LogoInterface {
- // showType: boolean;
light?: any;
+ theme?: ThemeInterface;
}
@@ -20,7 +21,7 @@ const Icon = styled(LogoIcon)`
flex-shrink: 0;
path {
- fill: ${props => props.light ? '#fff' : props.theme.textColor};
+ fill: ${(props: LogoInterface) => props.light ? '#fff' : props.theme.textColor};
}
`;