Skip to content

Commit e925935

Browse files
authored
Fix classname defaults
1 parent d62df24 commit e925935

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ If you specify additional props on the `<Tabs />` component they will be forward
6464
6565
#### className: `string | Array<string> | { [string]: boolean }`
6666
67-
> default: `"ReactTabs"`
67+
> default: `"react-tabs"`
6868
6969
Provide a custom class name for the outer `<div />` of the tabs.
7070
@@ -86,7 +86,7 @@ This allows changing the tab that should be open on initial render. This is a ze
8686
8787
#### disabledTabClassName: `string`
8888
89-
> default: `"ReactTabs__Tab--disabled"`
89+
> default: `"react-tabs__tab--disabled"`
9090
9191
Provide a custom class name for disabled tabs.
9292
@@ -122,15 +122,15 @@ This enables controlled mode, which also requires `onSelect` to be set. See [her
122122
123123
#### selectedTabClassName: `string`
124124
125-
> default: `"ReactTabs__Tab--selected"`
125+
> default: `"react-tabs__tab--selected"`
126126
127127
Provide a custom class name for the active tab.
128128
129129
> This option can also be set directly at the `<Tab />` component.
130130
131131
#### selectedTabPanelClassName: `string`
132132
133-
> default: `"ReactTabs__TabPanel--selected"`
133+
> default: `"react-tabs__tab-panel--selected"`
134134
135135
Provide a custom class name for the active tab panel.
136136
@@ -142,7 +142,7 @@ If you specify additional props on the `<TabList />` component they will be forw
142142
143143
#### className: `string | Array<string> | { [string]: boolean }`
144144
145-
> default: `"ReactTabs__TabList"`
145+
> default: `"react-tabs__tab-list"`
146146
147147
Provide a custom class name for the `<ul />`.
148148
@@ -154,21 +154,21 @@ If you specify additional props on the `<Tab />` component they will be forwarde
154154
155155
#### disabledClassName: `string`
156156
157-
> default: `"ReactTabs__Tab--disabled"`
157+
> default: `"react-tabs__tab--disabled"`
158158
159159
Provide a custom class name for disabled tabs.
160160
161161
#### className: `string | Array<string> | { [string]: boolean }`
162162
163-
> default: `"ReactTabs__Tab"`
163+
> default: `"react-tabs__tab"`
164164
165165
Provide a custom class name for the `<li />`.
166166
167167
> You can also supply an array of class names or an object where the class names are the key and the value is a boolean indicating if the name should be added. See the docs of [classnames](https://github.com/JedWatson/classnames#usage) on how to supply different class names.
168168
169169
#### selectedClassName: `string`
170170
171-
> default: `"ReactTabs__Tab--selected"`
171+
> default: `"react-tabs__tab--selected"`
172172
173173
Provide a custom class name for the active tab.
174174
@@ -178,7 +178,7 @@ If you specify additional props on the `<TabPanel />` component they will be for
178178
179179
#### className: `string | Array<string> | { [string]: boolean }`
180180
181-
> default: `"ReactTabs__TabPanel"`
181+
> default: `"react-tabs__tab-panel"`
182182
183183
Provide a custom class name for the `<div />` containing the tab content.
184184
@@ -194,7 +194,7 @@ By default the tab content will only be rendered when the tab is active. If set
194194
195195
#### selectedClassName: `string`
196196
197-
> default: `"ReactTabs__TabPanel--selected"`
197+
> default: `"react-tabs__tab-panel--selected"`
198198
199199
Provide a custom class name for the active tab panel.
200200

0 commit comments

Comments
 (0)