mirror of
https://github.com/adoyle0/thaw.git
synced 2025-01-23 14:29:22 -05:00
21 lines
487 B
Markdown
21 lines
487 B
Markdown
|
# Accordion
|
||
|
|
||
|
```rust demo
|
||
|
|
||
|
view! {
|
||
|
<Accordion>
|
||
|
<AccordionItem value="leptos">
|
||
|
<AccordionHeader slot>
|
||
|
"Leptos"
|
||
|
</AccordionHeader>
|
||
|
"Build fast web applications with Rust."
|
||
|
</AccordionItem>
|
||
|
<AccordionItem value="thaw">
|
||
|
<AccordionHeader slot>
|
||
|
"Thaw"
|
||
|
</AccordionHeader>
|
||
|
"An easy to use leptos component library"
|
||
|
</AccordionItem>
|
||
|
</Accordion>
|
||
|
}
|
||
|
```
|