UNPKG

@janiscommerce/ui-native

Version:
24 lines (23 loc) 601 B
import { FC, ReactNode } from 'react'; import { ViewStyle } from 'react-native'; interface Scene { title: string; scene: ReactNode; disabled?: boolean; } export declare const positions: { top: string; bottom: string; }; export type positionsType = typeof positions; export type keyPosition = keyof positionsType; interface TabsProps { scenes: Scene[]; initialTab?: number | null; position?: keyPosition; onPressTabCb?: (activeTab: number) => void; scrollContentStyle?: ViewStyle; style?: ViewStyle; } declare const Tabs: FC<TabsProps>; export default Tabs;