Documents in Affinity Designer have a white background like this:
The background can be set to transparent.
Go to File, Document setup...
The background is now transparent.
You can now export as PNG with Area left to "Whole document".