2018-10-03 10:52:37 +01:00

23 lines
565 B
TypeScript

import * as React from 'react';
import { Link } from 'ts/components/ui/link';
import { WebsitePaths } from 'ts/types';
export interface DocsLogoProps {
height: number;
containerStyle?: React.CSSProperties;
}
export const DocsLogo: React.StatelessComponent<DocsLogoProps> = props => {
return (
<div style={props.containerStyle}>
<Link to={WebsitePaths.Docs}>
<img src="/images/docs_logo.svg" height={props.height} />
</Link>
</div>
);
};
DocsLogo.defaultProps = {
containerStyle: {},
};