This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Description
Providing one long string is susceptible to unintended consequences from indentation rules (e.g. markdown interpreting 4 spaces as a code block). Being able to provide an array of strings would help avoid that problem somewhat.
Seems like we could just do children.join('\n') when children is an array?
@chriddyp happy to submit a PR if you think this is worthwhile (not sure how to set propTypes so that both an array and a string would be acceptable).