Skip to content

Commit aa6d1d7

Browse files
committed
Clarify message
1 parent 8cf2070 commit aa6d1d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ This mode has to be enabled by supplying `selectedIndex` to the `<Tabs />` compo
225225
226226
In this mode react-tabs does not handle any tab selection state internally and leaves all the state management up to the outer application.
227227
228-
This mode als enforces you to set a handler for `onSelect`. `defaultIndex` does not have any effect.
228+
This mode als enforces you to set a handler for `onSelect`. `defaultIndex` does not have any effect and will therefore throw an error.
229229
230230
```js
231231
class App extends Component {

0 commit comments

Comments
 (0)