UNPKG

react-native-resegmented-control

Version:

A fully customizable, declarative component that mimics the design of UISegmentedControl from iOS 13. Supported on iOS and Android

19 lines (18 loc) 514 B
import React, { FC } from 'react'; import { StyleProp, ViewStyle } from 'react-native'; export interface SegmentContentProps { active: boolean; activeTintColor: string; disabled: boolean; inactiveTintColor: string; } export interface SegmentProps { activeTintColor?: string; content: React.ReactNode; disabled?: boolean; disabledStyle?: ViewStyle; inactiveTintColor?: string; name: string; style?: StyleProp<ViewStyle>; } export declare const Segment: FC<SegmentProps>;