UNPKG

react-native-arabic-autoheight-text

Version:

Smart Arabic/RTL text renderer for React Native using WebView: auto height, proper justification, line clamp, and skeleton loading.

17 lines (16 loc) 594 B
import React from 'react'; import { StyleProp, TextStyle, ViewStyle } from 'react-native'; import { WebViewProps } from 'react-native-webview'; export interface RtlTextViewProps { text: string; textStyle?: StyleProp<TextStyle> | StyleProp<TextStyle>[]; numberOfLines?: number; isDark?: boolean; fontFamily?: string; webviewProps?: WebViewProps; renderSkeleton?: () => React.ReactNode; skeletonProps?: Record<string, any>; containerStyle?: StyleProp<ViewStyle>; } declare const _default: React.NamedExoticComponent<RtlTextViewProps>; export default _default;