PhoenixFeathers.Icon (Phoenix Feathers v1.0.2-alpha) View Source

Link to this section Summary

Link to this section Functions

Link to this function

%PhoenixFeathers.Icon{}

View Source (struct)

Example

menu_icon = PhoenixFeathers.Icon%{name: menu, color: "fff"}

PhoenixFeathers.Icon.render(menu_icon)
PhoenixFeathers.Icon.svg(menu_icon)

Specs

render(any(), %PhoenixFeathers.Icon{color: term(), name: term()}) ::
  Phoenix.LiveView.Rendered.t()

Specs

svg(any(), %PhoenixFeathers.Icon{color: term(), name: term()}) ::
  Phoenix.LiveView.Rendered.t()