aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components/logo.tsx
blob: 59db7d0ec9d1dd9e81ec40dcea7054589c5778c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import * as React from 'react';
import styled from 'styled-components';

import logoWithType from '../icons/logo-with-type.svg';

interface LogoInterface {
    // showType: boolean;
}

const StyledLogo = styled.div`
    text-align: left;
`;

const Icon = styled.div`
    flex-shrink: 0;
`;

export const Logo: React.StatelessComponent<LogoInterface> = ({}) => (
    <StyledLogo>
        <Icon as={logoWithType as 'svg'} />
    </StyledLogo>
);