import React, { memo, forwardRef } from 'react'; import { Platform } from 'react-native'; import { usePropsResolution } from '../../../hooks/useThemeProps'; import Box from './../../primitives/Box'; import type { IDividerProps } from './types'; import { extractInObject } from '../../../theme/tools'; const Divider = (props: IDividerProps, ref?: any) => { const { orientation, ...newProps } = usePropsResolution('Divider', props); const [, remainingProps] = extractInObject(newProps, ['size']); return ( ); }; export default memo(forwardRef(Divider));