import React from 'react' import { Trans, useTranslation } from 'next-i18next' import Alert from '~components/common/Alert' interface Props { creator: boolean name: string open: boolean remixCallback: () => void onOpenChange: (open: boolean) => void } const RemixTeamAlert = ({ creator, name, open, remixCallback, onOpenChange, }: Props) => { const { t } = useTranslation('common') function remixParty() { remixCallback() } function close() { onOpenChange(false) } return ( Remixing a team makes a copy of it in your account so you can make your own changes.\n\nYou're already the creator of{' '} {{ name: name }}, are you sure you want to remix it? ) : ( Remixing a team makes a copy of it in your account so you can make your own changes.\n\nWould you like to remix{' '} {{ name: 'HEY' }}? ) } /> ) } export default RemixTeamAlert