Add overrides for fill, viewBox, stroke, etc

This commit is contained in:
Max Veytsman
2021-04-19 15:21:09 -04:00
parent d104591f00
commit 4dc98ef82e
4 changed files with 18 additions and 6 deletions

View File

@ -26,6 +26,14 @@ defmodule HeroiconsTest do
assert Heroicons.Outline.academic_cap(multiword_key: "foo")
|> Phoenix.HTML.safe_to_string() =~
~s(multiword-key="foo")
assert Heroicons.Outline.academic_cap(viewBox: "0 0 12 12")
|> Phoenix.HTML.safe_to_string() =~
~s(viewBox=\"0 0 12 12\")
refute Heroicons.Outline.academic_cap(viewBox: "0 0 12 12")
|> Phoenix.HTML.safe_to_string() =~
~s(viewBox=\"0 0 24 24\")
end
test "generated docs" do