Files
protocol/packages/website/ts/@next/components/logo.tsx
2018-11-28 17:52:14 +01:00

23 lines
451 B
TypeScript

import * as React from 'react';
import styled from 'styled-components';
import logoWithType from '../icons/logo-with-type.svg';
export 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>
);