Closed lucasavila00 closed 1 year ago
This should work already if you omit the void
.
export type IconConfig = Variant<"HeroIcon", string> | Variant<"LeadingDotIcon">;
const { HeroIcon, LeadingDotIcon } = impl<IconConfig>();
export { HeroIcon, LeadingDotIcon };
LeadingDotIcon();
thanks for the awesome lib :)