import * as React from 'react'; import { Dropdown, Menu, Button } from 'antd'; import { FormattedMessage } from 'react-intl'; import { DownOutlined } from '@ant-design/icons'; import { SharedProps } from './interface'; export function getEcosystemGroup({ isZhCN }: SharedProps): React.ReactElement { return ( }> Ant Design of Angular Ant Design of Vue {isZhCN ? ( Ant Design 实战教程 ) : null} ); } export default (props: SharedProps) => { const menu = {getEcosystemGroup(props)}; return ( ); };