Closed KoreanThinker closed 2 years ago
I simply defined the type.
export interface ReadMoreProps { style?: StyleProp<TextStyle>; seeMoreStyle?: StyleProp<TextStyle>; seeLessStyle?: StyleProp<TextStyle>; wrapperStyle?: StyleProp<ViewStyle>; children?: React.ReactNode; numberOfLines?: number; seeMoreText?: string; seeLessText?: string; animate?: boolean; customTextComponent?: React.ReactNode; ellipsis?: string; allowFontScaling?: boolean; onExpand?: () => void; onCollapse?: () => void; expandOnly?: boolean; seeMoreOverlapCount?: number; debounceSeeMoreCalc?: number; onLayout?: (event: LayoutChangeEvent) => void; onTextLayout?: (event: NativeSyntheticEvent<TextLayoutEventData>) => void; onReady?: () => void; }
@fawaz-ahmed Please review it.
@KoreanThinker this is a great addition. Thanks for supporting. Can you also change version in package.json to 2.3.0 ?
I simply defined the type.