Skip to content

Commit

Permalink
docs: specify form for component generics (#2129)
Browse files Browse the repository at this point in the history
  • Loading branch information
gbj authored Dec 23, 2023
1 parent 74f9c3c commit 9f4c480
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 9f4c480

Please sign in to comment.