Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use view_component with_SLOT api, instead of deprecated 2.x slot API
Deprecated 2.x Slot API was taken away in view_component [3.0.0](https://viewcomponent.org/CHANGELOG.html#v300). By switching to with_SLOT_NAME API, we can support view_component 3.x. The with_SLOTNAME API was introduced in view_component [2.54.0](https://viewcomponent.org/CHANGELOG.html#2540) (May 2022). So we now express a dependency requiring view_component at least 2.54.0. As we do use view_components directly in source code here, it is appropriate to express it as a dependency, instead of just leaving it an indirect dependency.
- Loading branch information