-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathindex.d.ts
More file actions
39 lines (36 loc) · 941 Bytes
/
Copy pathindex.d.ts
File metadata and controls
39 lines (36 loc) · 941 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
declare module 'react-native-see-more-inline' {
import { ComponentClass, ReactElement } from 'react';
import { StyleProp, TextStyle, ViewStyle } from 'react-native';
export type SeeMoreProps = {
/**
* Number of lines to limit the text to
*/
numberOfLines: number;
/**
* Color of the see more/see less link
*/
linkColor?: string;
/**
* Color of the see more/see less link when it is being pressed
*/
linkPressedColor?: string;
/**
* Extra styles for the see more/see less link if any
*/
linkStyle?: StyleProp<TextStyle>;
/**
* String value to override "see more" text
*/
seeMoreText?: string;
/**
* String value to override "see less" text
*/
seeLessText?: string;
/**
* Style of the base text
*/
style?: StyleProp<TextStyle>;
};
const SeeMore: ComponentClass<SeeMoreProps>;
export default SeeMore;
}