use yew::prelude::{html, Component, Context, Html, Properties};
pub struct UneditableSolidMirrored12 {}
#[derive(Properties, Debug, Clone, PartialEq, Eq)]
pub struct Props {
#[prop_or_default]
pub class: Option<&'static str>,
#[prop_or_default]
pub width: Option<&'static str>,
#[prop_or_default]
pub height: Option<&'static str>,
#[prop_or_default]
pub color: Option<&'static str>,
#[prop_or_default]
pub fill: Option<&'static str>,
#[prop_or_default]
pub spin: bool,
#[prop_or_default]
pub rotate: i16,
}
impl Component for UneditableSolidMirrored12 {
type Properties = Props;
type Message = ();
fn create(_ctx: &Context<Self>) -> Self {
Self {}
}
fn view(&self, ctx: &Context<Self>) -> Html {
let props = ctx.props();
let mut style = String::new();
if props.rotate != 0 {
style += &format!("transform: rotate({}deg);", props.rotate);
}
html! {
<svg
xmlns={ "http://www.w3.org/2000/svg" }
class={ props.class.unwrap_or("") }
width={ props.width.unwrap_or("16") }
height={ props.height.unwrap_or("16") }
focusable={ "false" }
data-icon={ "UneditableSolidMirrored12" }
viewBox={ "0 0 16 16" }
fill={ props.fill.unwrap_or("currentColor") }
style={ style }
>
<path d="M574 994L292 712l422-422 280 284-420 420zm1474 1052l-753-333-420-419-729 729-121-121L1902 25l121 121-730 730 407 411 348 759zM140 562q-32-31-58-60t-44-62-28-70-10-84q0-61 23-113t63-91 93-60T294 0q47 0 83 10t68 28 59 44 60 57L140 562z" />
</svg>
}
}
}