Skip to content

Commit

Permalink
Update components.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
royalknight56 authored Nov 14, 2023
1 parent 1d88934 commit 6447b9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/concepts/html/components.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ use yew::prelude::*;
#[derive(PartialEq, Properties)]
struct Props {
id: String,
children: Html,
children: Children,
}

#[function_component]
Expand Down Expand Up @@ -94,7 +94,7 @@ use yew::prelude::*;
#[derive(PartialEq, Properties)]
struct Props {
id: String,
children: Html,
children: Children,
}

#[function_component]
Expand Down

0 comments on commit 6447b9b

Please sign in to comment.