Skip to content

Commit 991992d

Browse files
package build successful
1 parent 17818ea commit 991992d

File tree

3,763 files changed

+335
-1259400
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,763 files changed

+335
-1259400
lines changed
File renamed without changes.

lib/Graph.d.ts

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/// <reference types="react" />
2+
import { GRAPH_PROPS } from "./config";
3+
declare const Graph: ({ graphs, canvasWidth, canvasHeight, tabsCustomContainerStyle, onCursorMove }: GRAPH_PROPS) => JSX.Element;
4+
export default Graph;

lib/Graph.js

+75
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/Graph.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/component/Cursor.d.ts

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/// <reference types="react" />
2+
import { CURSOR_PROPS } from "../config";
3+
declare const Cursor: ({ transition, graphPath, canvasWidth, translation }: CURSOR_PROPS) => JSX.Element;
4+
export default Cursor;

lib/component/Cursor.js

+69
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/component/Cursor.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/component/Tabs.d.ts

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/// <reference types="react" />
2+
import { TABS_PROPS } from "../config";
3+
declare const Tabs: ({ transition, tabNames, customContainerStyle, canvasWidth, previousSelectionValue, currentSelectionValue }: TABS_PROPS) => JSX.Element;
4+
export default Tabs;

lib/component/Tabs.js

+50
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/component/Tabs.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/config.d.ts

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
import { StyleProp, ViewStyle } from 'react-native';
2+
import Animated from 'react-native-reanimated';
3+
import { Path, Vector } from 'react-native-redash';
4+
export interface AXIS_DATA {
5+
x: number;
6+
y: number;
7+
}
8+
export interface GRAPH {
9+
axisValues: [AXIS_DATA];
10+
graphName: string;
11+
}
12+
export interface GRAPH_SEETING {
13+
graphs: [GRAPH];
14+
canvasWidth?: number;
15+
canvasHeight?: number;
16+
}
17+
export interface GRAPH_PROPS {
18+
graphs: GRAPH[];
19+
canvasWidth?: number;
20+
canvasHeight?: number;
21+
tabsCustomContainerStyle?: StyleProp<ViewStyle>;
22+
onCursorMove?: (point: AXIS_DATA) => void;
23+
}
24+
export interface TABS_PROPS {
25+
transition: Animated.SharedValue<number>;
26+
tabNames: string[];
27+
customContainerStyle?: StyleProp<ViewStyle>;
28+
canvasWidth?: number;
29+
previousSelectionValue: Animated.SharedValue<number>;
30+
currentSelectionValue: Animated.SharedValue<number>;
31+
}
32+
export interface CURSOR_PROPS {
33+
customCursorStyle?: StyleProp<ViewStyle>;
34+
transition: Animated.SharedValue<number>;
35+
graphPath: Animated.SharedValue<Path>;
36+
canvasWidth?: number;
37+
canvasHeight?: number;
38+
translation: Vector<Animated.SharedValue<number>>;
39+
}
40+
export declare const SIZE: number;
41+
export declare const TAB_RADIUS = 8;
42+
export declare const TAB_WIDTH = 80;
43+
export declare const TAB_HEIGHT = 50;
44+
export declare const TAB_PADDING_VERTICAL = 20;
45+
export declare const CURSOR_SIZE: number;
46+
export declare const CURSOR_BORDER_SIZE: number;
47+
export declare const CURSOR_TOTAL_SIZE: number;

lib/config.js

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)