use dioxus::core::{Element, Template, TemplateNode};
use crate::IconProps;
use crate::vdom::{attr, icon_element, icon_template, path, rect, svg};
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("docs/captions.md"))]
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("../../../rustdoc-header.html"))]
#[allow(non_snake_case)]
pub fn Captions(props: IconProps) -> Element {
static TEMPLATE_ROOTS: &[TemplateNode] = &[svg(&[
rect(&[
attr("height", "14"),
attr("rx", "2"),
attr("ry", "2"),
attr("width", "18"),
attr("x", "3"),
attr("y", "5"),
]),
path(&[attr("d", "M7 15h4M15 15h2M7 11h2M13 11h4")]),
])];
static TEMPLATE: Template = icon_template(TEMPLATE_ROOTS);
icon_element(TEMPLATE, "0 0 24 24", props)
}