import React from 'react'; import { ScrollView } from 'react-native'; import type { ContentRailProps } from '../../../../types/content-rail'; import { useZoraTheme } from '../../../theme/composition/useZoraTheme'; /*** Wraps intrinsically sized content in a free horizontal native scroll view. */ export function ContentRailFlow({ children, gap = 'm', padding = 'm', direction = 'auto', bounces, showsScrollIndicator = false, accessibilityLabel = 'Content rail', interactionPolicy, testID, }: ContentRailProps) { const { theme } = useZoraTheme(); const spacing = new Map(Object.entries(theme.spacing)); return ( {children} ); }