File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -165,12 +165,20 @@ Provide a custom class name for the `<ul />`.
165
165
166
166
If you specify additional props on the ` < Tab / > ` component they will be forwarded to the rendered ` < li / > ` .
167
167
168
+ #### disabled: ` boolean`
169
+
170
+ > default: ` false `
171
+
172
+ Disable this tab which will make it not do anything when clicked. Also a disabled class name will be added (see ` disabledClassName` )
173
+
168
174
#### disabledClassName: ` string`
169
175
170
176
> default: ` " react-tabs__tab--disabled" `
171
177
172
178
Provide a custom class name for disabled tabs.
173
179
180
+ > This option can also be set for all ` < Tab / > ` components with the prop ` disabledTabClassName` on ` < Tabs / > ` .
181
+
174
182
#### className: ` string | Array < string> | { [string]: boolean }`
175
183
176
184
> default: ` " react-tabs__tab" `
@@ -185,6 +193,8 @@ Provide a custom class name for the `<li />`.
185
193
186
194
Provide a custom class name for the active tab.
187
195
196
+ > This option can also be set for all ` < Tab / > ` components with the prop ` selectedTabClassName` on ` < Tabs / > ` .
197
+
188
198
### <TabPanel />
189
199
190
200
If you specify additional props on the ` < TabPanel / > ` component they will be forwarded to the rendered ` < dev / > ` .
@@ -211,6 +221,8 @@ By default the tab content will only be rendered when the tab is active. If set
211
221
212
222
Provide a custom class name for the active tab panel.
213
223
224
+ > This option can also be set for all ` < TabPanel / > ` components with the prop ` selectedTabPanelClassName` on ` < Tabs / > ` .
225
+
214
226
## Controlled vs Uncontrolled mode
215
227
216
228
React tabs has two different modes it can operate in, which change the way how much you need to take care about the state yourself.
You can’t perform that action at this time.
0 commit comments