You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 19, 2018. It is now read-only.
classMyComponentincludeReact::Componentparam:tipdefrenderdiv{params.tip}endendclassTooltipExampleincludeReact::Componentdefrendertip=span{"this is a tip"}# <---- key is that the element is generated outsidediv(id: "outer"){MyComponent(tip: tip)# < ---- where its used }endend
will raise
Exception raised while rendering #TooltipExample:0x209c: a component's render method must generate and return exactly 1 element or a string.
Instead 2 elements were generated.
The span { "this is a tip" } is not removed from the correct buffer.