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 code=true>"code"</Text>
|
||||
</Space>
|
||||
<DemoCode
|
||||
slot
|
||||
html=highlight_str!(
|
||||
<DemoCode slot>
|
||||
|
||||
{highlight_str!(
|
||||
r#"
|
||||
<Space>
|
||||
<Text>
|
||||
|
@ -27,10 +27,8 @@ pub fn TypographyPage() -> impl IntoView {
|
|||
</Space>
|
||||
"#,
|
||||
"rust"
|
||||
)
|
||||
>
|
||||
)}
|
||||
|
||||
""
|
||||
</DemoCode>
|
||||
</Demo>
|
||||
<h3>"Text Props"</h3>
|
||||
|
|
Loading…
Add table
Reference in a new issue