mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-14 08:09:13 +08:00
16 lines
434 B
TypeScript
16 lines
434 B
TypeScript
|
import * as React from 'react';
|
||
|
import { Link } from 'bisheng/router';
|
||
|
import * as utils from '../../utils';
|
||
|
import { SharedProps } from './interface';
|
||
|
|
||
|
import './Logo.less';
|
||
|
|
||
|
export default ({ isZhCN }: SharedProps) => (
|
||
|
<h1>
|
||
|
<Link to={utils.getLocalizedPathname('/', isZhCN)} id="logo">
|
||
|
<img alt="logo" src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg" />
|
||
|
Ant Design
|
||
|
</Link>
|
||
|
</h1>
|
||
|
);
|