mirror of
https://github.com/adoyle0/thaw.git
synced 2025-03-13 05:59:49 -04:00
fix: text component demo
This commit is contained in:
parent
21506b2164
commit
63df6c7524
1 changed files with 15 additions and 17 deletions
|
@ -13,9 +13,9 @@ pub fn TypographyPage() -> impl IntoView {
|
||||||
<Text>"text"</Text>
|
<Text>"text"</Text>
|
||||||
<Text code=true>"code"</Text>
|
<Text code=true>"code"</Text>
|
||||||
</Space>
|
</Space>
|
||||||
<DemoCode
|
<DemoCode slot>
|
||||||
slot
|
|
||||||
html=highlight_str!(
|
{highlight_str!(
|
||||||
r#"
|
r#"
|
||||||
<Space>
|
<Space>
|
||||||
<Text>
|
<Text>
|
||||||
|
@ -27,10 +27,8 @@ pub fn TypographyPage() -> impl IntoView {
|
||||||
</Space>
|
</Space>
|
||||||
"#,
|
"#,
|
||||||
"rust"
|
"rust"
|
||||||
)
|
)}
|
||||||
>
|
|
||||||
|
|
||||||
""
|
|
||||||
</DemoCode>
|
</DemoCode>
|
||||||
</Demo>
|
</Demo>
|
||||||
<h3>"Text Props"</h3>
|
<h3>"Text Props"</h3>
|
||||||
|
|
Loading…
Add table
Reference in a new issue