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.

19 lines (18 loc) 665 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>; skeletonHeight?: number; matchTextHorizontalPadding?: boolean; } declare const _default: React.NamedExoticComponent<RtlTextViewProps>; export default _default;