Feat: props now autoderives its own trait
This commit is contained in:
1 parent
d4f1ceaffb
commit
b3c96a5996
10 files changed
+123
-83
No files matched your search
@@ -23,11 +23,3 @@ static Example: FC<SomeProps> = |ctx, _props| {
|
||||
</div>
|
||||
})
|
||||
};
|
||||
|
||||
// toodo: derive this
|
||||
impl Properties for SomeProps {
|
||||
type Builder = SomePropsBuilder<((),)>;
|
||||
fn builder() -> Self::Builder {
|
||||
SomeProps::builder()
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user