a nav-tab example for learn react