Skip to content

Commit 4cc0ac4

Browse files
committed
Fix render slot
1 parent e46397e commit 4cc0ac4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/test/components/previews/card_preview.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def with_title_argument
1616

1717
def with_title_slot
1818
render(Flowbite::Card.new) do |component|
19-
component.with_title { "<h1 class=\"text-3xl\">This title replace the entire title element</h1>".html_safe }
19+
component.with_title { "<h1 class=\"text-3xl\">This title replaces the entire title element</h1>".html_safe }
2020
"Use the title slot to control all aspects of the title element"
2121
end
2222
end

0 commit comments

Comments
 (0)