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)}; const downstyle = props.isRTL ? '-1px 2px 0 0' : '-1px 0 0 2px'; return ( ); };