Fix tests/docs
This commit is contained in:
@ -43,11 +43,16 @@ defmodule Heroicons.Generator do
|
||||
|
||||
"""
|
||||
)}) {: width=24px}
|
||||
|
||||
## Examples
|
||||
|
||||
Use as a `Phoenix.Component`
|
||||
|
||||
<.#{name} />
|
||||
<.#{name} class="h-6 w-6 text-gray-500" />
|
||||
|
||||
or as a function
|
||||
|
||||
<%= #{name}() %>
|
||||
<%= #{name}(class: "h-6 w-6 text-gray-500") %>
|
||||
"""
|
||||
|
Reference in New Issue
Block a user