From 8bdbda33a01060498ba104e75116dc3bf899b457 Mon Sep 17 00:00:00 2001 From: luoxiao Date: Thu, 1 Feb 2024 15:24:09 +0800 Subject: [PATCH] style: fmt --- thaw/src/auto_complete/mod.rs | 2 +- thaw/src/breadcrumb/breadcrumb_item.rs | 2 +- thaw/src/breadcrumb/mod.rs | 2 +- thaw/src/button/mod.rs | 6 +- thaw/src/calendar/mod.rs | 5 +- thaw/src/card/mod.rs | 50 ++++++----- thaw/src/checkbox/mod.rs | 3 +- thaw/src/code/mod.rs | 26 +++--- thaw/src/collapse/collapse_item.rs | 9 +- thaw/src/collapse/mod.rs | 2 +- thaw/src/color_picker/mod.rs | 2 +- thaw/src/divider/mod.rs | 2 +- thaw/src/drawer/mod.rs | 3 +- thaw/src/grid/grid_item.rs | 5 +- thaw/src/grid/mod.rs | 5 +- thaw/src/input/mod.rs | 2 +- thaw/src/input/text_area.rs | 6 +- thaw/src/layout/layout_header.rs | 5 +- thaw/src/layout/layout_sider.rs | 5 +- thaw/src/layout/mod.rs | 2 +- thaw/src/menu/menu_group.rs | 5 +- thaw/src/menu/menu_item.rs | 2 +- thaw/src/menu/mod.rs | 2 +- thaw/src/message/message_provider.rs | 11 +-- thaw/src/message/mod.rs | 12 +-- thaw/src/mobile/nav_bar/mod.rs | 111 ++++++++++++++----------- thaw/src/mobile/tabbar/mod.rs | 11 +-- thaw/src/popover/mod.rs | 2 +- thaw/src/radio/mod.rs | 3 +- thaw/src/select/mod.rs | 2 +- thaw/src/slider/mod.rs | 2 +- thaw/src/space/mod.rs | 2 +- thaw/src/spinner/mod.rs | 2 +- thaw/src/switch/mod.rs | 3 +- thaw/src/table/mod.rs | 3 +- thaw/src/tabs/mod.rs | 7 +- thaw/src/tabs/tab.rs | 3 +- thaw/src/tag/mod.rs | 5 +- thaw/src/time_picker/mod.rs | 5 +- thaw/src/typography/text.rs | 4 +- 40 files changed, 198 insertions(+), 143 deletions(-) diff --git a/thaw/src/auto_complete/mod.rs b/thaw/src/auto_complete/mod.rs index c006016..7a79102 100644 --- a/thaw/src/auto_complete/mod.rs +++ b/thaw/src/auto_complete/mod.rs @@ -130,7 +130,7 @@ pub fn AutoComplete( view! {
diff --git a/thaw/src/breadcrumb/breadcrumb_item.rs b/thaw/src/breadcrumb/breadcrumb_item.rs index bec75ee..2e2bfee 100644 --- a/thaw/src/breadcrumb/breadcrumb_item.rs +++ b/thaw/src/breadcrumb/breadcrumb_item.rs @@ -12,7 +12,7 @@ pub fn BreadcrumbItem( view! {
  • {children()} {move || breadcrumb_separator.0.get()} diff --git a/thaw/src/breadcrumb/mod.rs b/thaw/src/breadcrumb/mod.rs index 60fa681..3ab4652 100644 --- a/thaw/src/breadcrumb/mod.rs +++ b/thaw/src/breadcrumb/mod.rs @@ -40,7 +40,7 @@ pub fn Breadcrumb( view! {