aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/documentation/docs_logo.tsx
blob: b727fea36da4de1f7eed8d65b69c6b91c69d7978 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { Link } from '@0xproject/react-shared';
import * as React from 'react';
import { WebsitePaths } from 'ts/types';

export interface DocsLogoProps {
    height: number;
    containerStyle?: React.CSSProperties;
}

export const DocsLogo: React.StatelessComponent<DocsLogoProps> = props => {
    return (
        <Link to={WebsitePaths.Docs}>
            <img src="/images/docs_logo.svg" height={props.height} />
        </Link>
    );
};

DocsLogo.defaultProps = {
    containerStyle: {},
};