leptos-components 0.2.9

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

#[component]
pub fn Roadmap(
    #[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="M6.99989 11.643H13.4999M6.99989 11.643C6.99989 11.8259 6.96386 12.0071 6.89385 12.1761C6.82385 12.3451 6.72124 12.4986 6.59189 12.628C6.46254 12.7574 6.30897 12.86 6.13997 12.93C5.97096 13 5.78982 13.036 5.60689 13.036C5.42396 13.036 5.24282 13 5.07381 12.93C4.9048 12.86 4.75124 12.7574 4.62189 12.628C4.49254 12.4986 4.38993 12.3451 4.31992 12.1761C4.24992 12.0071 4.21389 11.8259 4.21389 11.643C4.21389 11.4601 4.24992 11.2789 4.31992 11.1099C4.38993 10.9409 4.49254 10.7874 4.62189 10.658C4.75124 10.5286 4.9048 10.426 5.07381 10.356C5.24282 10.286 5.42396 10.25 5.60689 10.25C5.78982 10.25 5.97096 10.286 6.13997 10.356C6.30897 10.426 6.46254 10.5286 6.59189 10.658C6.72124 10.7874 6.82385 10.9409 6.89385 11.1099C6.96386 11.2789 6.99989 11.4601 6.99989 11.643ZM13.4999 11.643L11.6429 9.786M13.4999 11.643L11.6429 13.5M3.28589 1.893C3.28589 2.26245 3.43265 2.61676 3.69389 2.878C3.95513 3.13924 4.30944 3.286 4.67889 3.286C5.04834 3.286 5.40265 3.13924 5.66389 2.878C5.92513 2.61676 6.07189 2.26245 6.07189 1.893C6.07189 1.52355 5.92513 1.16924 5.66389 0.908C5.40265 0.646762 5.04834 0.5 4.67889 0.5C4.30944 0.5 3.95513 0.646762 3.69389 0.908C3.43265 1.16924 3.28589 1.52355 3.28589 1.893ZM6.99989 6.536C6.99989 6.90545 7.14665 7.25976 7.40789 7.521C7.66913 7.78224 8.02344 7.929 8.39289 7.929C8.76233 7.929 9.11665 7.78224 9.37789 7.521C9.63913 7.25976 9.78589 6.90545 9.78589 6.536C9.78589 6.16655 9.63913 5.81224 9.37789 5.551C9.11665 5.28976 8.76233 5.143 8.39289 5.143C8.02344 5.143 7.66913 5.28976 7.40789 5.551C7.14665 5.81224 6.99989 6.16655 6.99989 6.536Z"
                fill="currentColor"
            />
        </svg>
    }
}