lego
lego copied to clipboard
Pass all attributes to child
In React one can do <ChildElement {...props} />
to pass all parent attributes to the child.
How to do this with Lego?
In React one can do <ChildElement {...props} />
to pass all parent attributes to the child.
How to do this with Lego?