[][src]Crate yew_octicons

yew_octicons is an easy interface for using Octicons in yew projects.

Example

use yew::html;
use yew_octicons::Icon;
use yew_octicons::IconKind;

let code = html! {
    <span>
        { Icon::new(IconKind::Alert) }
    </span>
};

Structs

Icon

An Octicon with size information. This can be used in yew's html! macro.

Enums

IconKind

Enum storing all the Octicons