fix Script children

This commit is contained in:
Greg Johnston 2024-05-22 09:11:43 -04:00
parent 13d5f12d7f
commit 2925db8676
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ pub fn Script(
blocking: Option<Oco<'static, str>>,
/// The content of the `<script>` tag.
#[prop(optional)]
children: Option<Box<dyn FnOnce() -> AnyView<Dom>>>,
children: Option<Children>,
/// Custom attributes.
#[prop(attrs, optional)]
attrs: Vec<AnyAttribute<Dom>>,