import React from 'react'; interface PublishMenuItemProps { icon: React.ReactNode; title: string; description: string; onClick: () => void; destructive?: boolean; /** * Disabled items keep their visual slot in the menu so the layout stays * stable when state changes (e.g. Revert in rollout mode disables in * lock-step with the Save button — both gated on `hasUnsavedChanges`). */ disabled?: boolean; /** Native tooltip — useful for explaining why a disabled item can't be clicked. */ tooltip?: string; } export function PublishMenuItem({ icon, title, description, onClick, destructive = false, disabled = false, tooltip }: PublishMenuItemProps): React.ReactElement { return ( ); }