import React from 'react'; import { View } from 'react-native'; import { useTheme } from '../../theme'; import { Label } from '../Label'; import { getThemedStyles } from './styles'; import { DividerProps } from './types'; export const DIVIDER_LINE_TEST_ID = 'amplify__divider__line'; export default function Divider({ children, labelStyle, lineStyle, style, }: DividerProps): JSX.Element { const theme = useTheme(); const themedStyle = getThemedStyles(theme); return ( {children ? ( <> ) : null} ); }