Saltar al contenido
El Muestrario

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

6 props declaradas en los tipos de la versión instalada.
PropRequeridaTipoQué hace
itemsMobileTabItem<T>[]Tab items to render
activeItemTCurrently active tab id
onItemChange(item: T) => voidCallback when a tab is selected
classNameopcionalstring
leadingActionopcionalReact__default.ReactNodeContent rendered to the left of the tab strip, separated by a vertical divider. Intended for a back-button or similar leading action.
hapticopcionalbooleanWhen `true`, calls `navigator.vibrate(10)` on tab change (best-effort — silently ignored on browsers/devices that do not support the Vibration API).