use yew::prelude::{html, Component, Context, Html, Properties};
pub struct ParachuteSolid {}
#[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 ParachuteSolid {
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={ "ParachuteSolid" }
viewBox={ "0 0 16 16" }
fill={ props.fill.unwrap_or("currentColor") }
style={ style }
>
<path d="M960 0q95 0 188 16t183 48q123 44 230 119t187 174 126 219 46 256q0 50-30 88t-69 65q-5 3-14 8t-20 11-18 10-11 7l-478 478v453q0 40-28 68t-68 28H736q-40 0-68-28t-28-68v-453l-478-478q-2-2-10-7t-19-10-19-10-15-9q-39-27-69-65T0 832q0-135 46-255t126-220 187-174T589 64q90-32 183-48T960 0zm-64 1151q-119-2-236-13t-235-35l306 305h165v-257zm293 257l306-305q-117 23-234 34t-237 14v257h165z" />
</svg>
}
}
}