import React, { useState } from 'react'; import { StyleSheet, View, TouchableHighlight, StyleProp, ViewStyle, } from 'react-native'; import type { Theme, AnyValue } from '../../types'; import { withTheme } from '../../core/theming'; import { blockSizes, buildBorderStyles, builtTextStyles, } from '../../styles/styles'; import shadow from '../../styles/shadow'; import getSelectOptions, { Option } from './SelectBase'; import { ScrollView, Text, ArrowIcon, Panel } from '../..'; type Props = { disabled?: boolean; menuMaxHeight?: number; // TODO: what to put below? onChange: (value: AnyValue) => void; options: Array