import { forwardRef, type ComponentRef } from 'react'; import { View, type ImageSourcePropType } from 'react-native'; import { dataAttributes, mergeDataAttributes } from '@cdx-ui/primitives'; import { cn } from '@cdx-ui/utils'; import { Image as ForgeImage } from '../Image/Image'; import { HStack, type HStackProps } from '../Stack/HStack'; import { Text } from '../Text'; import { insuranceDisclosureLogoVariants, insuranceDisclosureRootVariants, insuranceDisclosureTextVariants, } from './styles'; export interface InsuranceDisclosureProps extends Omit { logoSource: string | ImageSourcePropType; logoAccessibilityLabel: string; label?: string; className?: string; } export const InsuranceDisclosure = forwardRef< ComponentRef, InsuranceDisclosureProps >(function InsuranceDisclosure( { logoSource, logoAccessibilityLabel, label, className, style, ...props }, ref, ) { return ( {label ? ( {label} ) : null} ); }); InsuranceDisclosure.displayName = 'InsuranceDisclosure';