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