import React, { type ReactNode } from 'react'; import { TouchableOpacity, type StyleProp, type TextStyle, type ViewStyle, } from 'react-native'; import Button from './Button'; import Col from './Col'; import Row from './Row'; import Text from './Text'; import { colors } from '../colors/colors'; export interface TabbarProps { title: string; titleStyleProps?: StyleProp; onSeeMore?: () => void; showSeeMore?: boolean; renderSeemore?: ReactNode | string; tabbarStylesProps?: StyleProp; } const Tabbar = (props: TabbarProps) => { const { title, titleStyleProps, onSeeMore, showSeeMore, renderSeemore, tabbarStylesProps, } = props; return ( {showSeeMore === false ? null : renderSeemore ? ( typeof renderSeemore === 'string' ? ( ) : ( {renderSeemore} ) ) : (