import { ReactNode } from 'react'; import { RequiredKeys } from 'utility-types'; import { AnimationProps, FractalSharedStyleProps, TextStyleProps } from '../../../sharedProps'; import { FractalThemeTextVariants } from '../../../themes'; interface DefaultTexProps { allowFontScaling?: boolean; ellipsizeMode?: 'head' | 'middle' | 'tail' | 'clip'; lineBreakMode?: 'head' | 'middle' | 'tail' | 'clip'; numberOfLines?: number; onLayout?: (event: any) => void; onTextLayout?: (event: any) => void; onPress?: (event: any) => void; onLongPress?: (event: any) => void; testID?: string; nativeID?: string; maxFontSizeMultiplier?: number | null; adjustsFontSizeToFit?: boolean; minimumFontScale?: number; suppressHighlighting?: boolean; selectable?: boolean; selectionColor?: string; textBreakStrategy?: 'simple' | 'highQuality' | 'balanced'; dataDetectorType?: null | 'phoneNumber' | 'link' | 'email' | 'none' | 'all'; android_hyphenationFrequency?: 'normal' | 'none' | 'full' | 'high' | 'balanced'; } export interface TextProps extends FractalSharedStyleProps, AnimationProps, DefaultTexProps, TextStyleProps { children?: ReactNode | ReactNode[]; style?: any; variant?: RequiredKeys; } export {};