Press n or j to go to the next uncovered block, b, p or k for the previous block.
import { ITabsState } from './Tabs'; export const onSelect = (state: ITabsState, selectedIndex: number) => ({ ...state, selectedIndex, });