You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-13
Original file line number
Diff line number
Diff line change
@@ -59,19 +59,6 @@ export default () => (
59
59
60
60
## API
61
61
62
-
### resetIdCounter(): void
63
-
64
-
Allows reseting the internal id counter which is used to generate unique id's for tabs and tab panels.
65
-
66
-
You should never need to use this in the browser. Only if you are running an isomorphic react app that is rendered on the server you should call `resetIdCounter()` before every page render so that the ids that get generated on the server match the ids generated in the browser.
67
-
68
-
```js
69
-
import { resetIdCounter } from'react-tabs';
70
-
71
-
resetIdCounter();
72
-
ReactDOMServer.renderToString(...);
73
-
```
74
-
75
62
## Components
76
63
77
64
react-tabs consists of 4 components which all need to be used together.
0 commit comments