calendar-2k 1.0.1 → 1.0.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "calendar-2k",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "The fastest fully customizable Expo date & time picker, written in TypeScript, supporting Expo Go, single date, time, date range, time range, datetime range selection, flexible date disabling, and dynamic color theming for iOS and Android.",
|
|
5
5
|
"main": "Calendar2kView.js",
|
|
6
6
|
"types": "build/Calendar2k.types.ts",
|
|
@@ -16,9 +16,9 @@ export default function ArrowButton({
|
|
|
16
16
|
const source = () => {
|
|
17
17
|
switch (direction) {
|
|
18
18
|
case "right":
|
|
19
|
-
return require("
|
|
19
|
+
return require("../assets/images/chevron-right.png");
|
|
20
20
|
case "left":
|
|
21
|
-
return require("
|
|
21
|
+
return require("../assets/images/chevron-left.png");
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
|
package/src/components/Icon.tsx
CHANGED
|
@@ -8,10 +8,10 @@ export default function Icon({ color, mode }: Props) {
|
|
|
8
8
|
const source = () => {
|
|
9
9
|
switch (mode) {
|
|
10
10
|
case "time":
|
|
11
|
-
return require("
|
|
11
|
+
return require("../assets/images/clock.png");
|
|
12
12
|
|
|
13
13
|
default:
|
|
14
|
-
return require("
|
|
14
|
+
return require("../assets/images/calendar.png");
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -6,7 +6,7 @@ type Props = {
|
|
|
6
6
|
export default function SwipeIcon({ color }: Props) {
|
|
7
7
|
return (
|
|
8
8
|
<Image
|
|
9
|
-
source={require("
|
|
9
|
+
source={require("../assets/images/swipe.png")}
|
|
10
10
|
style={{ width: 30, height: 30, tintColor: color }}
|
|
11
11
|
/>
|
|
12
12
|
);
|
|
File without changes
|