blob: 570a81bca5bb1e9657e4e0231e71026efa78edac (
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 { Link } from 'react-router-dom';
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}`} className="text-decoration-none">
<img src="/images/docs_logo.svg" height={props.height} />
</Link>
</div>
);
};
DocsLogo.defaultProps = {
containerStyle: {},
};
|