use yew::prelude::{html, Component, Context, Html, Properties};
pub struct BlockedSiteSolid12 {}
#[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 BlockedSiteSolid12 {
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={ "BlockedSiteSolid12" }
viewBox={ "0 0 16 16" }
fill={ props.fill.unwrap_or("currentColor") }
style={ style }
>
<path d="M1877 250v501q0 144-37 274t-103 248-155 221-193 194-219 168-231 143q-116-61-230-138t-219-169-194-197-155-224-103-248T0 751V250q84 0 159-5t147-22 142-44 143-75q42-26 83-45t83-33 87-19 95-7q51 0 96 6t87 20 83 33 83 47q71 45 141 73t142 44 148 21 158 6zm-438 1038l-349-349 351-352-151-150-351 351-352-351-150 150 351 352-351 351 150 151 352-351 349 349 151-151z" />
</svg>
}
}
}