File tree 1 file changed +1
-35
lines changed
1 file changed +1
-35
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ import 'react-smarttab/dist/index.css'
63
63
const App = () => {
64
64
65
65
return (
66
- < Tabs>
66
+ < Tabs selected = ' tab-1 ' theme = ' dark ' orientation = ' vertical ' >
67
67
< TabNav>
68
68
< TabNavItem tab= " tab-1" > Tab 1 < / TabNavItem>
69
69
< TabNavItem tab= " tab-2" > Tab 2 < / TabNavItem>
@@ -92,40 +92,6 @@ const App = () => {
92
92
export default App
93
93
```
94
94
95
- ##### All options
96
-
97
- ``` jsx
98
- < Tabs
99
- selected= ' tab-1'
100
- theme= ' dark'
101
- orientation= ' vertical'
102
- >
103
- < TabNav>
104
- < TabNavItem tab= " tab-1" > Tab 1 < / TabNavItem>
105
- < TabNavItem tab= " tab-2" > Tab 2 < / TabNavItem>
106
- < TabNavItem tab= " tab-3" > Tab 3 < / TabNavItem>
107
- < TabNavItem tab= " tab-4" > Tab 4 < / TabNavItem>
108
- < / TabNav>
109
-
110
- < TabContent>
111
- < TabPanel id= " tab-1" >
112
- Tab 1 Content
113
- < / TabPanel>
114
- < TabPanel id= " tab-2" >
115
- Tab 2 Content
116
- < / TabPanel>
117
- < TabPanel id= " tab-3" >
118
- Tab 3 Content
119
- < / TabPanel>
120
- < TabPanel id= " tab-4" >
121
- Tab 4 Content
122
- < / TabPanel>
123
- < / TabContent>
124
- < / Tabs>
125
- ```
126
-
127
-
128
-
129
95
License
130
96
----
131
97
[ MIT License] ( https://github.com/techlab/react-smarttab/blob/master/LICENSE )
You can’t perform that action at this time.
0 commit comments