import React from 'react'; import { StyleSheet } from 'react-native'; import RNModal from '../Modal/Modal'; import type { Props } from './types'; import type { Props as ModalProps } from '../Modal/Modal'; import Select from './Select'; import { withTheme } from '../../core/theming'; import Header from '../Header'; type SelectModalProps = Props & ModalProps & { title?: string; closeAction?: () => void }; const SelectModal = ({ data, selectedValue, onPressItem, title, closeAction, theme, ...rest }: SelectModalProps) => { return ( ); }; SelectModal.displayName = 'Select.Modal'; const styles = StyleSheet.create({ contentStyle: { flex: 1, justifyContent: 'flex-start' }, }); export default withTheme(SelectModal);