2026-07-02 14:34:19 +05:30

22 lines
522 B
TypeScript

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;