Skip to content

Commit bb12f06

Browse files
committed
Readme updated
1 parent 21b3c8a commit bb12f06

File tree

1 file changed

+1
-35
lines changed

1 file changed

+1
-35
lines changed

README.md

+1-35
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ import 'react-smarttab/dist/index.css'
6363
const App = () => {
6464

6565
return (
66-
<Tabs>
66+
<Tabs selected='tab-1' theme='dark' orientation='vertical'>
6767
<TabNav>
6868
<TabNavItem tab="tab-1">Tab 1</TabNavItem>
6969
<TabNavItem tab="tab-2">Tab 2</TabNavItem>
@@ -92,40 +92,6 @@ const App = () => {
9292
export default App
9393
```
9494

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-
12995
License
13096
----
13197
[MIT License](https://github.com/techlab/react-smarttab/blob/master/LICENSE)

0 commit comments

Comments
 (0)