native-base
Version:
Essential cross-platform UI components for React Native
29 lines (28 loc) • 861 B
TypeScript
import type { ReactElement, RefObject } from 'react';
export declare type IPopoverArrowProps = {
height?: any;
width?: any;
children?: any;
color?: any;
style?: any;
};
export declare type IPlacement = 'top' | 'bottom' | 'left' | 'right' | 'top left' | 'top right' | 'bottom left' | 'bottom right' | 'right top' | 'right bottom' | 'left top' | 'left bottom';
export declare type IPopperProps = {
shouldFlip?: boolean;
crossOffset?: number;
offset?: number;
children: React.ReactNode;
shouldOverlapWithTrigger?: boolean;
trigger?: ReactElement | RefObject<any>;
placement?: IPlacement;
};
export declare type IArrowStyles = {
placement?: string;
height?: number;
width?: number;
};
export declare type IScrollContentStyle = {
placement?: string;
arrowHeight: number;
arrowWidth: number;
};