componente · @solu30/ui-kit/navigation
MobileTabNavigation
El componente, montado
Cargando el componente del paquete instalado…
Cargando el chunk del paquete instalado…
De dónde se importa
import { MobileTabNavigation } from '@solu30/ui-kit/navigation'Props
| Prop | Requerida | Tipo | Qué hace |
|---|---|---|---|
| items | sí | MobileTabItem<T>[] | Tab items to render |
| activeItem | sí | T | Currently active tab id |
| onItemChange | sí | (item: T) => void | Callback when a tab is selected |
| className | opcional | string | — |
| leadingAction | opcional | React__default.ReactNode | Content rendered to the left of the tab strip, separated by a vertical divider. Intended for a back-button or similar leading action. |
| haptic | opcional | boolean | When `true`, calls `navigator.vibrate(10)` on tab change (best-effort — silently ignored on browsers/devices that do not support the Vibration API). |