Skip to content

Commit 24f2cae

Browse files
authored
Fix order of props in docs
1 parent c84f8fc commit 24f2cae

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,14 @@ Provide a custom class name for the `<ul />`.
165165
166166
If you specify additional props on the `<Tab />` component they will be forwarded to the rendered `<li />`.
167167
168+
#### className: `string | Array<string> | { [string]: boolean }`
169+
170+
> default: `"react-tabs__tab"`
171+
172+
Provide a custom class name for the `<li />`.
173+
174+
> 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.
175+
168176
#### disabled: `boolean`
169177
170178
> default: `false`
@@ -179,14 +187,6 @@ Provide a custom class name for disabled tabs.
179187
180188
> This option can also be set for all `<Tab />` components with the prop `disabledTabClassName` on `<Tabs />`.
181189
182-
#### className: `string | Array<string> | { [string]: boolean }`
183-
184-
> default: `"react-tabs__tab"`
185-
186-
Provide a custom class name for the `<li />`.
187-
188-
> 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.
189-
190190
#### selectedClassName: `string`
191191
192192
> default: `"react-tabs__tab--selected"`

0 commit comments

Comments
 (0)