import React from 'react';
import { View } from 'react-native';
import { useAppTheme } from '@theme';
import { getStyles } from './mapBottomSheet.styles';

interface MapBottomSheetProps {
  children: React.ReactNode;
}

export const MapBottomSheet: React.FC<MapBottomSheetProps> = ({ children }) => {
  const { colors } = useAppTheme();
  const styles = getStyles(colors);

  return (
    <View style={styles.sheet}>
      <View style={styles.handle} />
      {children}
    </View>
  );
};
export default MapBottomSheet;
