'use client' import { Fragment } from 'react' import { useTranslation } from 'react-i18next' import { RiArrowDownSLine, } from '@remixicon/react' import { Menu, MenuButton, MenuItem, MenuItems, Transition } from '@headlessui/react' import cn from '@/utils/classnames' type Props = { onOperate: () => void } const TransferOwnership = ({ onOperate }: Props) => { const { t } = useTranslation() return ( { ({ open }) => ( <> {t('common.members.owner')}
{t('common.members.transferOwnership')}
) }
) } export default TransferOwnership