@duocvo/react-native-select-dropdown
Version:
This package was forked from https://github.com/AdelRedaa97/react-native-select-dropdown. Allow multiple select dropdown with search and custom styles.
22 lines (18 loc) • 522 B
JavaScript
import React from 'react';
import {View, StyleSheet} from 'react-native';
const DropdownWindow = ({layoutStyle, children}) => {
return <View style={{...styles.dropdownOverlayView, ...styles.shadow, ...layoutStyle}}>{children}</View>;
};
export default DropdownWindow;
const styles = StyleSheet.create({
dropdownOverlayView: {
backgroundColor: '#EFEFEF',
},
shadow: {
shadowColor: '#000',
shadowOffset: {width: 0, height: 6},
shadowOpacity: 0.1,
shadowRadius: 10,
elevation: 10,
},
});