Uses ChildInput — callers may pass an array as a single argument
(Link(props, [a, b])) as well as spread or variadic. In exchange, the
wrapper cannot interleave its own children with the forwarded ones in
the same primitive call (it must forward children as the sole child
argument).
Variadic-rest type for wrappers that only forward children without mixing in wrapper-owned elements:
Uses
ChildInput— callers may pass an array as a single argument (Link(props, [a, b])) as well as spread or variadic. In exchange, the wrapper cannot interleave its own children with the forwarded ones in the same primitive call (it must forwardchildrenas the sole child argument).