Skip to content

Commit

Permalink
docs: specify form for component generics
Browse files Browse the repository at this point in the history
  • Loading branch information
gbj committed Dec 22, 2023
1 parent 34fb39c commit 3da05e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion leptos_macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ mod slot;
/// # runtime.dispose();
/// ```
///
/// 3. Components (functions annotated with `#[component]`) can be inserted as camel-cased tags
/// 3. Components (functions annotated with `#[component]`) can be inserted as camel-cased tags. (Generics
/// on components are specified as `<Component<T>/>`, not the turbofish `<Component::<T>/>`.)
/// ```rust
/// # use leptos::*;
/// # let runtime = create_runtime();
Expand Down

0 comments on commit 3da05e5

Please sign in to comment.