import React from 'react'; import Button from '../Button'; import OrSeparator from '../OrSeparator'; import { useTheme } from '../../theme'; import styles from './styles'; import I18n from '../../i18n'; import { IServicesSeparator } from './interfaces'; const ServicesSeparator = ({ services, separator, collapsed, onPress }: IServicesSeparator) => { const { colors, theme } = useTheme(); const { length } = Object.values(services); if (length > 3 && separator) { return ( <>