docs: big updates to the reference
This commit is contained in:
1 parent
caf772cf24
commit
583fdfa561
57 files changed
+726
-247
No files matched your search
@@ -5,12 +5,8 @@ struct SomeContext {
|
||||
items: Vec<String>,
|
||||
}
|
||||
|
||||
struct Props {
|
||||
name: String,
|
||||
}
|
||||
|
||||
#[allow(unused)]
|
||||
static Example: FC<Props> = |cpt| {
|
||||
static Example: FC<()> = |cpt| {
|
||||
todo!()
|
||||
|
||||
// let value = cx.use_context(|c: &SomeContext| c.items.last().unwrap());
|
||||
|
||||
Reference in new issue
Block a user