You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

23 lines
531 B

import * as React from 'react';
import { Link } from 'bisheng/router';
import * as utils from '../../utils';
import './Logo.less';
export interface LogoProps {
isZhCN: boolean;
location: any;
}
const Logo = ({ isZhCN, location }: LogoProps) => {
return (
<h1>
<Link to={utils.getLocalizedPathname('/', isZhCN, location.query)} id="logo">
<img alt="logo" src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg" />
Ant Design
</Link>
</h1>
);
};
export default Logo;