import * as Slot from '@rn-primitives/slot'; import type { SlottableTextProps, TextRef } from '@rn-primitives/types'; import * as React from 'react'; import { Platform, Text as RNText } from 'react-native'; import { cn } from '@/lib/utils'; const H1 = React.forwardRef( ({ className, asChild = false, ...props }, ref) => { const Component = asChild ? Slot.Text : RNText; return ( ); } ); H1.displayName = 'H1'; const H2 = React.forwardRef( ({ className, asChild = false, ...props }, ref) => { const Component = asChild ? Slot.Text : RNText; return ( ); } ); H2.displayName = 'H2'; const H3 = React.forwardRef( ({ className, asChild = false, ...props }, ref) => { const Component = asChild ? Slot.Text : RNText; return ( ); } ); H3.displayName = 'H3'; const H4 = React.forwardRef( ({ className, asChild = false, ...props }, ref) => { const Component = asChild ? Slot.Text : RNText; return ( ); } ); H4.displayName = 'H4'; const P = React.forwardRef( ({ className, asChild = false, ...props }, ref) => { const Component = asChild ? Slot.Text : RNText; return ( ); } ); P.displayName = 'P'; const BlockQuote = React.forwardRef( ({ className, asChild = false, ...props }, ref) => { const Component = asChild ? Slot.Text : RNText; return ( ); } ); BlockQuote.displayName = 'BlockQuote'; const Code = React.forwardRef( ({ className, asChild = false, ...props }, ref) => { const Component = asChild ? Slot.Text : RNText; return ( ); } ); Code.displayName = 'Code'; const Lead = React.forwardRef( ({ className, asChild = false, ...props }, ref) => { const Component = asChild ? Slot.Text : RNText; return ( ); } ); Lead.displayName = 'Lead'; const Large = React.forwardRef( ({ className, asChild = false, ...props }, ref) => { const Component = asChild ? Slot.Text : RNText; return ( ); } ); Large.displayName = 'Large'; const Small = React.forwardRef( ({ className, asChild = false, ...props }, ref) => { const Component = asChild ? Slot.Text : RNText; return ( ); } ); Small.displayName = 'Small'; const Muted = React.forwardRef( ({ className, asChild = false, ...props }, ref) => { const Component = asChild ? Slot.Text : RNText; return ( ); } ); Muted.displayName = 'Muted'; export { BlockQuote, Code, H1, H2, H3, H4, Large, Lead, Muted, P, Small };