/// import { Animated, ViewStyle } from 'react-native'; import { SegmentReactElement } from './Segment'; import { ControlProps } from './types'; export declare type Props = { animatedValue?: Animated.Value; initialIndex?: number; headerHeight?: number; controlHeight?: number; containerHeight?: number; children: SegmentReactElement[]; header?: (props?: any) => JSX.Element; control?: (props: ControlProps) => JSX.Element; lazy?: boolean; containerStyle?: ViewStyle; topStyle?: ViewStyle; disableFadeIn?: boolean; }; /** * Basic usage looks like this: * * ```tsx * import { Segmented } from 'react-native-collapsible-segmented-view' * * const Example = () => { * return ( * * * * * * ) * } * ``` */ export declare const SegmentedView: (props: Props) => JSX.Element;