Document props and component macro (#2522)
* document prop attributes * document children props * fix children doc test
This commit is contained in:
1 parent
f042e0029c
commit
3a4860add4
8 files changed
+861
-229
No files matched your search
@@ -270,7 +270,7 @@ pub fn schedule_update_any() -> Arc<dyn Fn(ScopeId) + Send + Sync> {
|
||||
|
||||
/// Creates a callback that will be run before the component is removed.
|
||||
/// This can be used to clean up side effects from the component
|
||||
/// (created with [`use_effect`](crate::use_effect)).
|
||||
/// (created with [`use_effect`](dioxus::prelude::use_effect)).
|
||||
///
|
||||
/// Example:
|
||||
/// ```rust
|
||||
|
||||
Reference in new issue
Block a user