plotline-engage 3.0.7 → 3.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +7 -1
- package/index.js +3 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,5 +9,11 @@ declare class plotline {
|
|
|
9
9
|
debug(): void;
|
|
10
10
|
notifyScroll(): void;
|
|
11
11
|
}
|
|
12
|
+
declare class PScrollView extends React.Component<ScrollViewProps> {
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
declare class PFlatList<T> extends React.Component<FlatListProps<T>> {
|
|
16
|
+
}
|
|
12
17
|
declare const Plotline: plotline;
|
|
13
|
-
export
|
|
18
|
+
export { PScrollView, PFlatList };
|
|
19
|
+
export default Plotline;
|
package/index.js
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
import { NativeModules, Platform } from 'react-native';
|
|
3
3
|
|
|
4
4
|
const { RNPlotline } = NativeModules;
|
|
5
|
+
import PScrollView from './PScrollView';
|
|
6
|
+
import PFlatList from './PFlatList';
|
|
5
7
|
|
|
6
8
|
class plotline {
|
|
7
9
|
constructor() {
|
|
@@ -68,3 +70,4 @@ class plotline {
|
|
|
68
70
|
const Plotline = new plotline();
|
|
69
71
|
|
|
70
72
|
export default Plotline;
|
|
73
|
+
export {PScrollView, PFlatList};
|