Crate yew_octicons[][src]

Expand description

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

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

Enums

Enum storing all the Octicons