mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-19 11:06:17 +00:00
Add new setting view, component, and router to rustfs-gui (#223)
- Create `SettingViews` component in `views/setting.rs`. - Update `views/mod.rs` to include the new `SettingViews` component. - Update routing in `main.rs` to include the new route for `SettingViews`.
This commit is contained in:
@@ -1,2 +1,5 @@
|
||||
mod home;
|
||||
mod setting;
|
||||
|
||||
pub use home::HomeViews;
|
||||
pub use setting::SettingViews;
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
use crate::components::Setting;
|
||||
use dioxus::prelude::*;
|
||||
|
||||
#[component]
|
||||
pub fn SettingViews() -> Element {
|
||||
rsx! {
|
||||
Setting {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user