mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-02 17:09:11 +00:00
52fb080193
Adds the ability to specify an indent string to public autofmt methods - either a sequence of spaces or a tab character. Get the indentation style and size from rustfmt for dx fmt, or from the editor settings for the vscode extension. Closes #1595
5 lines
153 B
R
5 lines
153 B
R
fn ItWroks() {
|
|
cx.render(rsx! {
|
|
div { class: "flex flex-wrap items-center dark:text-white py-16 border-t font-light", left, right }
|
|
})
|
|
}
|