fix: text component demo

This commit is contained in:
luoxiao 2023-11-24 10:20:23 +08:00
parent 21506b2164
commit 63df6c7524

View file

@ -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>