-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui-core: fix time picker component's properties
fix #810 This commit fix the allowed properties on the component, to avoid confusion for example between ``value` and `hours` & `minutes`. Also refacto : - use `useCallback` when necessary - static function shoud be outside component definition - `otherProps` at top level, so even if a prop is defined and the component also use it, it will be overriden by the component Signed-off-by: Benoit Simard <[email protected]>
- Loading branch information
Showing
1 changed file
with
66 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters