UNPKG

native-base

Version:

Essential cross-platform UI components for React Native

26 lines (25 loc) 1 kB
import React from 'react'; import { ViewStyle } from 'react-native'; import type { InterfaceBoxProps } from '../../primitives/Box'; export declare type InterfaceCollapseProps = InterfaceBoxProps<ICollapseProps> & { style?: ViewStyle; endingHeight?: number; startingHeight?: number; duration?: number; animateOpacity?: boolean; isOpen?: boolean; onAnimationEnd?: Function; onAnimationStart?: Function; }; export declare type ICollapseProps = InterfaceCollapseProps; declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<InterfaceBoxProps<InterfaceCollapseProps> & { style?: ViewStyle | undefined; endingHeight?: number | undefined; startingHeight?: number | undefined; duration?: number | undefined; animateOpacity?: boolean | undefined; isOpen?: boolean | undefined; onAnimationEnd?: Function | undefined; onAnimationStart?: Function | undefined; } & React.RefAttributes<unknown>>>; export default _default;