property TabBarProps.onChange

Called with the key of the tab chosen.

Type

(key: T) => void

Usage

import { type TabBarProps } from "src/components/shared/TabBar.tsx";