Is it possible to have a similar import syntax as @heroicons/react?
goenning opened this issue · 2 comments
goenning commented
Instead of
import { Icon } from "solid-heroicons";
import { arrowLeft } from "solid-heroicons/solid";
<Icon path={arrowLeft} style="width: 24px; color: blue" />
It'd be?
import { ArrowLeft } from "solid-heroicons/24/solid";
<ArrowLeft style="width: 24px; color: blue" />
What you think? 😀
goenning commented
Great library btw, a lot easier than copy/pasting it!
amoutonbrady commented
Hey sorry for the long delay.
I'm sorry but this is not the direction I want to take with this library as I'm not very a fan of this pattern where 1 component = 1 icon.