use leptos::prelude::*;

use crate::_svg_icon::SvgIcon;

#[component]
pub fn ExternalLink(#[prop(into, optional)] class: Signal<String>) -> impl IntoView {
    view! {
        <SvgIcon class=class>
            <title>"Rust UI Icons - ExternalLink"</title>

            <path d="M15 3h6v6" />
            <path d="M10 14 21 3" />
            <path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" />
        </SvgIcon>
    }
}
