import { View, type StyleProp, type ViewStyle } from 'react-native'; import { Text } from '../../components/wui-text'; import { FlexView } from '../../layout/wui-flex'; import { useTheme } from '../../hooks/useTheme'; import styles from './styles'; export interface SeparatorProps { text?: string; style?: StyleProp; } export function Separator({ text, style }: SeparatorProps) { const Theme = useTheme(); if (!text) { return ; } return ( {text} ); }