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
use leptos::prelude::*;
use super::field_ui::*;
use crate::ui::input::Input;

#[component]
pub fn BasicExample() -> impl IntoView {
    view! {
        <Field>
            <FieldLabel>"Email"</FieldLabel>
            <Input
                name="email"
                placeholder="you@example.com"
            />
        </Field>
    }
}