New Creates a new details element with the given child nodes.
Example: details.New(summary.New(text.Text("Details")), text.Text("Something small enough to escape casual notice."))
Renders: <details><summary>Details</summary>Something small enough to escape casual notice.</details>