use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn Captions(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Captions" }
            rect { width: "18", height: "14", x: "2", y: "2", rx: "2", ry: "2" }
            path { d: "M7 15h4M15 15h2M7 11h2M13 11h4" }
        }
    }
}
