diff --git a/README.md b/README.md
index 918e8a4f3..78e729de2 100644
--- a/README.md
+++ b/README.md
@@ -914,10 +914,11 @@ ReactDOM.render(, document.getElementById('root'));
Renders a tabbed menu and view component.
-Define `TabItem` as a middleware, pass it to the `Tab` and remove unnecessary nodes expect for `TabItem` by identifying the function's name in `props.children`.
+Define a `TabItem` component, pass it to the `Tab` and remove unnecessary nodes expect for `TabItem` by identifying the function's name in `props.children`.
+Use the `React.useState()` hook to initialize the value of the `bindIndex` state variable to `props.defaultIndex`.
Use `Array.prototype.map` on the collected nodes to render the `tab-menu` and `tab-view`.
Define `changeTab`, which will be executed when clicking a `