import { DownOutlined } from '@ant-design/icons'; import { css } from '@emotion/react'; import type { MenuProps } from 'antd'; import { Button, Dropdown } from 'antd'; import { FormattedMessage } from 'dumi'; import React from 'react'; import type { SharedProps } from './interface'; const useStyle = (rtl?: boolean) => ({ smallStyle: css` font-size: 12px; color: #777; margin-left: 0.3em; `, downOutlined: css` font-size: 9px; margin: ${rtl ? '-1px 2px 0 0' : '-1px 0 0 2px'}; vertical-align: middle; `, }); const Community: React.FC = () => { const { smallStyle } = useStyle(); return ( () ); }; export const getEcosystemGroup = (): MenuProps['items'] => [ { label: ( ), key: 'charts', }, { label: ( ), key: 'pro', }, { label: ( ), key: 'procomponents', }, { label: ( Ant Design of Angular ), key: 'ng', }, { label: ( Ant Design of Vue ), key: 'vue', }, ]; const More: React.FC = ({ isRTL }) => { const { downOutlined } = useStyle(isRTL); return ( ); }; export default More;