UNPKG

react-native-modern-elements

Version:

A modern, customizable UI component library for React Native

31 lines (30 loc) 1 kB
import React from "react"; import { StyleProp, TextStyle, ViewStyle } from "react-native"; type PopupItem = { key?: any; value?: any; modallable: string; icons?: React.ReactNode; disabled?: boolean; }; interface PopupProps { data: PopupItem[]; setSelected: (val: any) => void; save?: "key" | "value"; placeholder?: string; popupBoxStyle?: StyleProp<ViewStyle>; popupTextStyles?: StyleProp<TextStyle>; renderButton?: (toggle: () => void, selectedValue?: any) => React.ReactNode; maxHeight?: number; popupShadow?: boolean; gap?: number; maxWidth?: number; animation?: "updown" | "center" | "fade" | "fromTop" | "fromBottom" | "zoomIn" | "zoomOut"; animationDelay?: number; popupPositionRight?: number; popupPositionLeft?: number; } declare const _default: React.NamedExoticComponent<PopupProps & { animation?: "updown" | "center" | "fade" | "fromTop" | "fromBottom" | "zoomIn" | "zoomOut"; }>; export default _default;