canonrs-server 0.1.0

CanonRS server-side rendering support
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use leptos::prelude::*;
use super::*;

#[component]
pub fn BasicExample() -> impl IntoView {
    view! {
        <Command>
            <CommandInput placeholder="Search..." />
            <CommandList>
                <CommandItem>"Copy"</CommandItem>
                <CommandItem>"Cut"</CommandItem>
                <CommandItem>"Paste"</CommandItem>
                <CommandItem>"Delete"</CommandItem>
                <CommandItem>"Rename"</CommandItem>
            </CommandList>
        </Command>
    }
}