diff options
author | Fred Carlsen <fred@sjelfull.no> | 2018-12-12 20:08:52 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-12 20:08:52 +0800 |
commit | 088ca6ce7cb36b26981c719460f01f3da6e00198 (patch) | |
tree | 56ebc78d3f2a8ec2aa833e989d82756e08954e42 /packages/website/ts/@next/components/sections | |
parent | 5df160ffb9099a0d27415a21650fa93f687ea8e3 (diff) | |
download | dexon-0x-contracts-088ca6ce7cb36b26981c719460f01f3da6e00198.tar.gz dexon-0x-contracts-088ca6ce7cb36b26981c719460f01f3da6e00198.tar.zst dexon-0x-contracts-088ca6ce7cb36b26981c719460f01f3da6e00198.zip |
Added a bunch of types
Diffstat (limited to 'packages/website/ts/@next/components/sections')
-rw-r--r-- | packages/website/ts/@next/components/sections/landing/clients.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/website/ts/@next/components/sections/landing/clients.tsx b/packages/website/ts/@next/components/sections/landing/clients.tsx index 68d5e384d..a858f0c34 100644 --- a/packages/website/ts/@next/components/sections/landing/clients.tsx +++ b/packages/website/ts/@next/components/sections/landing/clients.tsx @@ -7,6 +7,11 @@ import {Heading, Paragraph} from 'ts/@next/components/text'; interface ProjectLogo { name: string; imageUrl?: string; + persistOnMobile?: boolean; +} + +interface StyledProjectInterface { + isOnMobile?: boolean; } const projects: ProjectLogo[] = [ @@ -74,7 +79,7 @@ export const SectionLandingClients = () => ( </Section> ); -const StyledProject = styled.div` +const StyledProject = styled.div<StyledProjectInterface>` flex-shrink: 0; img { |