We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19360ea commit 4cdbddbCopy full SHA for 4cdbddb
1 file changed
packages/core-macro/src/component.rs
@@ -245,6 +245,7 @@ impl ComponentBody {
245
246
let item_struct = parse_quote! {
247
#[derive(Props)]
248
+ #[non_exhaustive]
249
#[allow(non_camel_case_types)]
250
#vis struct #struct_ident #generics #where_clause {
251
#(#struct_fields),*
0 commit comments