Commit 092a6c0 1 parent 2a908c1 commit 092a6c0 Copy full SHA for 092a6c0
File tree 6 files changed +22
-2
lines changed
6 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ fn TheRouter() -> impl IntoView {
58
58
<Route path=path!( "/server-sider-rendering" ) view=ServerSiderRenderingMdPage />
59
59
<Route path=path!( "/development/components" ) view=DevelopmentComponentsMdPage />
60
60
<Route path=path!( "/customize-theme" ) view=CustomizeThemeMdPage />
61
+ <Route path=path!( "/FAQs" ) view=FAQsMdPage />
61
62
</ParentRoute >
62
63
<ParentRoute path=path!( "/components" ) view=ComponentsPage >
63
64
<Route path=path!( "/accordion" ) view=AccordionMdPage />
Original file line number Diff line number Diff line change @@ -158,6 +158,11 @@ pub(crate) fn gen_nav_data() -> Vec<NavGroupOption> {
158
158
value: "/guide/customize-theme" ,
159
159
label: "Customize Theme" ,
160
160
} ,
161
+ NavItemOption {
162
+ group: None ,
163
+ value: "/guide/FAQs" ,
164
+ label: "FAQs" ,
165
+ } ,
161
166
] ,
162
167
} ,
163
168
// NavGroupOption {
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ pub fn Home() -> impl IntoView {
39
39
<Button
40
40
appearance=ButtonAppearance :: Primary
41
41
on_click=move |_| {
42
- navigate( "/components/button " , Default :: default ( ) ) ;
42
+ navigate( "/guide/installation " , Default :: default ( ) ) ;
43
43
}
44
44
>
45
45
"Read the docs"
Original file line number Diff line number Diff line change
1
+ # FAQs
2
+
3
+ TODO
Original file line number Diff line number Diff line change 1
1
## Installation
2
2
3
- Installation thaw
3
+ Installation thaw.
4
4
5
5
``` shell
6
6
cargo add thaw --features=csr
@@ -14,6 +14,14 @@ cargo add thaw --features=csr
14
14
</MessageBarBody>
15
15
</MessageBar >
16
16
17
+ <MessageBar intent =MessageBarIntent::Warning attr:style =" margin-top: 12px " >
18
+ <MessageBarBody>
19
+ <div style="white-space: normal">
20
+ "Currently Thaw supports CSR and SSR. Island is not supported yet."
21
+ </div>
22
+ </MessageBarBody>
23
+ </MessageBar >
24
+
17
25
## Usage
18
26
19
27
You just need to import thaw and use it.
@@ -38,6 +46,8 @@ fn main() {
38
46
#[component]
39
47
pub fn App () -> impl IntoView {
40
48
view! {
49
+ // The ConfigProvider component is required for Thaw,
50
+ // please place it at the root of the Thaw component.
41
51
<ConfigProvider >
42
52
<Button appearance = ButtonAppearance :: Primary >
43
53
" Primary"
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ pub fn include_md(_token_stream: proc_macro::TokenStream) -> proc_macro::TokenSt
24
24
"InstallationMdPage" => "../docs/_guide/installation.md" ,
25
25
"ServerSiderRenderingMdPage" => "../docs/_guide/server_sider_rendering.md" ,
26
26
"CustomizeThemeMdPage" => "../docs/_guide/theme/customize_theme.md" ,
27
+ "FAQsMdPage" => "../docs/_guide/FAQs.md" ,
27
28
"AccordionMdPage" => "../../thaw/src/accordion/docs/mod.md" ,
28
29
"AnchorMdPage" => "../../thaw/src/anchor/docs/mod.md" ,
29
30
"AutoCompleteMdPage" => "../../thaw/src/auto_complete/docs/mod.md" ,
You can’t perform that action at this time.
0 commit comments