File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed
Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,7 @@ module Flowbite
77 #
88 # To render a title in the card, use the title argument or the title slot.
99 #
10- # If you want to customize the title element completely, use the title slot.
11- # You can even use +Flowbite::Card::Title+ to still preseve the default
12- # rendering:
13- #
10+ # @example Using the title slot
1411 # <%= render(Flowbite::Card.new) do |card| %>
1512 # <% card.with_title do %>
1613 # <div><%= parent_category.name %></div>
Original file line number Diff line number Diff line change 1- app/components/flowbite/card.rb 91b769b52e8a69c0b66075b549b56bb122632462
1+ app/components/flowbite/card.rb 6f248428402ae1a72982cd0cde3acd77a6f43308
22app/components/flowbite/link.rb 1516522405f7cf2021913a4ebbb792f4ae386c16
33app/components/flowbite/input.rb 6fbe49459aa61f71e7fb72688372223189167ac7
44app/components/flowbite/style.rb ef063360cc99cd7a6b8e67a7693326bb5dfb0e42
You can’t perform that action at this time.
0 commit comments