@airship/rn-components
Version:
React Native components, from basic inputs to animated wrappers, created by Airship to build quality apps.
15 lines (14 loc) • 439 B
TypeScript
import { FC } from 'react';
import { TextStyle, ViewStyle } from 'react-native';
declare type Props = {
tabs: string[];
onChange: (index: number) => void;
currentIndex: number;
activeSegmentBackgroundColor?: string;
containerStyle?: ViewStyle;
textStyle?: TextStyle;
activeTextColor?: string;
activeContainerStyles?: ViewStyle;
};
declare const SegmentedControl: FC<Props>;
export default SegmentedControl;