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'; const smallStyle = { fontSize: 12, color: '#777', marginLeft: '0.3em' }; export function getEcosystemGroup({ isZhCN }: SharedProps): React.ReactNode { 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 ( ); };