pub fn fragment<MSG>(nodes: impl IntoIterator<Item = Node<MSG>>) -> Node<MSG>
Expand description

fragment is a list of nodes

Example

use sauron::prelude::*;

let node: Node<()> = fragment([div([],[]), span([],[])]);