✨ Define OneComponent con tipado restringido
This commit is contained in:
parent
dd443ca375
commit
23a6f36f62
12 changed files with 68 additions and 90 deletions
|
|
@ -10,7 +10,7 @@ pub enum ButtonType {
|
|||
Reset,
|
||||
}
|
||||
|
||||
pub type ButtonValue = ComponentArc;
|
||||
type ButtonValue = OneComponent<L10n>;
|
||||
|
||||
#[rustfmt::skip]
|
||||
#[derive(Default)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue