File size: 813 Bytes
7798609 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
'''
title: Expander
'''
import streamsync as ss
ss.md("## ss.expander")
ss.md('''
#### π
Example
''')
with ss.expander("About SimpleStart", expanded=True):
ss.text("Lorem ipsum dolor sit amet consectetur adipisicing elit. Commodi, ratione debitis quis est labore voluptatibus! \
Eaque cupiditate minima, at placeat totam, magni doloremque veniam neque porro libero rerum unde voluptatem!", style="padding:10px")
ss.space()
ss.write('''
---
#### π Code
''')
ss.md('''
```python
import simplestart as ss
with ss.expander("About SimpleStart"):
ss.text("Lorem ipsum dolor sit amet consectetur adipisicing elit. Commodi, ratione debitis quis est labore voluptatibus! \
Eaque cupiditate minima, at placeat totam, magni doloremque veniam neque porro libero rerum unde voluptatem!")
```
''') |