Add fonts, autotable, autotable examples
This commit is contained in:
@@ -37,8 +37,7 @@ type ReactiveChartProps struct {
|
||||
// ReactiveChart renders the chart container (h-full + user class) wrapping an
|
||||
// empty <canvas>. Drawing is out of scope — see the file NOTE.
|
||||
func ReactiveChart(p ReactiveChartProps) *vdom.VNode {
|
||||
return vdom.El("div",
|
||||
vdom.Attr("class", cx("h-full", p.Class)),
|
||||
vdom.El("canvas"),
|
||||
return vdom.Div(vdom.Attr("class", cx("h-full", p.Class)),
|
||||
vdom.Canvas(),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user