use leptos::prelude::*;

use crate::_svg_icon::SvgIcon;

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

            <rect width="20" height="14" x="2" y="5" rx="2" />
            <line x1="2" x2="22" y1="10" y2="10" />
        </SvgIcon>
    }
}
