Module Skyline_icon_v1Source

A Codicon.t optionally colored with the given intent color. Note that by default the codicon will inherit the current text color (in the same way Codicons.svg) does.

Sourceval component' : ?size:Css_gen.Length.t -> ?intent:Skyline_theme_v1.Color.t -> icon:Codicons.t -> unit -> Bonsai_web.Vdom.Node.t

The same as component, except it takes icon as a named argument and unit as a positional argument, to match the form expected by ppx html.