use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn CreditCard(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - CreditCard" }
            rect { width: "20", height: "14", x: "2", y: "5", rx: "2" }
            line { x1: "2", x2: "22", y1: "10", y2: "10" }
        }
    }
}
