import React from 'react'
export default function WorldDuplicateActionMenu({ duplicateUrl, newEditionUrl, canCreateEdition, onDuplicate, onCreateEdition, copyModeCount = 0 }) {
if (!duplicateUrl && !newEditionUrl) {
return null
}
return (
Reuse this world
Duplicate the current campaign structure or roll it forward into the next edition without rebuilding the curated setup.
{duplicateUrl ? : null}
{newEditionUrl ? : null}
{!canCreateEdition ?
Next-edition creation unlocks once this world has recurrence data.
: null}
{copyModeCount > 1 ?
Each action lets you choose whether to carry over curated relations or start from a clean structural shell.
: null}
Next-edition drafts preserve the recurrence key, increment the edition year, and reset live dates plus homepage flags so the new edition starts clean.
)
}