app/helpers/coco/components_helper.rb in coveragebook_components-0.17.3 vs app/helpers/coco/components_helper.rb in coveragebook_components-0.17.4
- old
+ new
@@ -144,9 +144,13 @@
render(Coco::Page.new(id: id, **), &)
end
# Messaging
+ def coco_tooltip(text, **, &)
+ render(Coco::Tooltip.new(text:, **), &)
+ end
+
def coco_notice(**, &)
render(Coco::Notice.new(**), &)
end
def coco_snackbar(**, &)