import type React from 'react'; import type { View, StyleProp, ViewStyle } from 'react-native'; import type { SizeProp } from '../../tokens/size'; import type { ColorProp, SxProps } from '../../types/shared'; export type PopperPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end'; export interface PopperProps { /** Whether the popper is visible. */ open: boolean; /** Ref to the anchor View element. */ anchorRef: React.RefObject; /** Position of the popper relative to the anchor. @default 'bottom' */ placement?: PopperPlacement; /** Render inline in component tree instead of via Portal. @default false */ disablePortal?: boolean; /** * Keep children mounted in the tree when `open={false}`. * @default false */ keepMounted?: boolean; children?: React.ReactNode; /** StyleSheet-compatible style override. */ style?: StyleProp; testID?: string; size?: SizeProp; color?: ColorProp; sx?: SxProps; } //# sourceMappingURL=types.d.ts.map