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