thaw/demo_markdown/docs/typography/mod.md
luoxiaozero 1e4832a6d0
refactor demo docs (#64)
* demo: refactor docs

* demo: refactor docs

* demo: refactor docs

* demo: refactor docs
2023-12-31 23:33:05 +08:00

658 B

Typography

view! {
    <Space>
        <Text>"text"</Text>
        <Text code=true>"code"</Text>
    </Space>
}

Text Props

Name Type Default Description
class MaybeSignal<String> Default::default() Addtional classes for the text element.
code bool false Use the code tag and style.
children Children Text's content.