leptos-components 0.2.9

RustLangES leptos components
Documentation
use leptos::prelude::*;

#[component]
pub fn ArrowUp(
    #[prop(into, optional, default = 24)] size: i32,
    #[prop(into, default = "".to_string())] class: String,
) -> impl IntoView {
    view! {
        <svg
            width={size}
            height={size}
            viewBox="0 0 24 24"
            class=class
            xmlns="http://www.w3.org/2000/svg"
        >
            <path
                d="M11.575 10.8305L6.97545 15.43C6.75923 15.6463 6.48404 15.7544 6.14989 15.7544C5.81573 15.7544 5.54055 15.6463 5.32433 15.43C5.10811 15.2138 5 14.9386 5 14.6045C5 14.2703 5.10811 13.9951 5.32433 13.7789L10.7494 8.35381C10.9853 8.11794 11.2605 8 11.575 8C11.8895 8 12.1647 8.11794 12.4006 8.35381L17.8257 13.7789C18.0419 13.9951 18.15 14.2703 18.15 14.6045C18.15 14.9386 18.0419 15.2138 17.8257 15.43C17.6095 15.6463 17.3343 15.7544 17.0001 15.7544C16.666 15.7544 16.3908 15.6463 16.1746 15.43L11.575 10.8305Z"
                fill="currentColor"
            />
        </svg>
    }
}