File size: 595 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
33
34
35
36
37
38
39
'''
title: Tabs
'''

import simplestart as ss

ss.md("## ss.tabs")

ss.space("mt-16")
ss.md("#### πŸ”… Example")

tabtitles = ["tab1", "tab2", "tab3"]
tabs = ss.tabs(tabtitles)

with tabs[0]:
    ss.text("this is tab 1")
with tabs[1]:
    ss.text("this is tab 2")
with tabs[2]:
    ss.text("this is tab 3")
    
ss.space()
ss.write("#### πŸ”Ž Code")

ss.md('''
```python
import simplestart as ss

tabtitles = ["tab1", "tab2", "tab3"]
tabs = ss.tabs(tabtitles)

with tabs[0]:
    ss.text("this is tab 1")
with tabs[1]:
    ss.text("this is tab 2")
with tabs[2]:
    ss.text("this is tab 3")
''')