mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2024-11-21 03:15:49 +08:00
rename traits
This commit is contained in:
parent
5850de1b33
commit
010a70f5f3
@ -74,7 +74,9 @@ const useEventTrait: TraitImplementation<{
|
||||
};
|
||||
}, []);
|
||||
|
||||
return hub;
|
||||
return {
|
||||
props: hub,
|
||||
};
|
||||
};
|
||||
|
||||
const EventsPropertySchema = Type.Array(
|
@ -24,5 +24,7 @@ export default {
|
||||
methods: [],
|
||||
},
|
||||
}),
|
||||
impl: () => {},
|
||||
impl: () => ({
|
||||
props: null,
|
||||
}),
|
||||
};
|
@ -19,6 +19,10 @@ const useStateTrait: TraitImplementation<{
|
||||
},
|
||||
});
|
||||
}, []);
|
||||
|
||||
return {
|
||||
props: null,
|
||||
};
|
||||
};
|
||||
|
||||
const KeyPropertySchema = Type.String();
|
Loading…
Reference in New Issue
Block a user