@herca/rn-kit 0.1.16 → 0.1.18

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.
Files changed (124) hide show
  1. package/lib/module/Alert/Alert.js +5 -2
  2. package/lib/module/Alert/Alert.js.map +1 -1
  3. package/lib/module/Calendar/Calendar.js +7 -0
  4. package/lib/module/Calendar/Calendar.js.map +1 -1
  5. package/lib/module/Chip/Chip.js +4 -2
  6. package/lib/module/Chip/Chip.js.map +1 -1
  7. package/lib/module/Chip/README.md +2 -0
  8. package/lib/module/DatePicker/DatePicker.js +79 -6
  9. package/lib/module/DatePicker/DatePicker.js.map +1 -1
  10. package/lib/module/Icon/Icon.js +27 -3
  11. package/lib/module/Icon/Icon.js.map +1 -1
  12. package/lib/module/Icon/README.md +14 -1
  13. package/lib/module/Icon/icons/Bell.js +35 -0
  14. package/lib/module/Icon/icons/Bell.js.map +1 -0
  15. package/lib/module/Icon/icons/BookmarkUser.js +22 -0
  16. package/lib/module/Icon/icons/BookmarkUser.js.map +1 -0
  17. package/lib/module/Icon/icons/ClipBoardList.js +22 -0
  18. package/lib/module/Icon/icons/ClipBoardList.js.map +1 -0
  19. package/lib/module/Icon/icons/ClipBoardListCheck.js +22 -0
  20. package/lib/module/Icon/icons/ClipBoardListCheck.js.map +1 -0
  21. package/lib/module/Icon/icons/FileListCheck.js +22 -0
  22. package/lib/module/Icon/icons/FileListCheck.js.map +1 -0
  23. package/lib/module/Icon/icons/FileText.js +22 -0
  24. package/lib/module/Icon/icons/FileText.js.map +1 -0
  25. package/lib/module/Icon/icons/FolderClock.js +22 -0
  26. package/lib/module/Icon/icons/FolderClock.js.map +1 -0
  27. package/lib/module/Icon/icons/HomeFill.js +24 -0
  28. package/lib/module/Icon/icons/HomeFill.js.map +1 -0
  29. package/lib/module/Icon/icons/HomeOutline.js +22 -0
  30. package/lib/module/Icon/icons/HomeOutline.js.map +1 -0
  31. package/lib/module/Icon/icons/Megaphone.js +22 -0
  32. package/lib/module/Icon/icons/Megaphone.js.map +1 -0
  33. package/lib/module/Icon/icons/Plus.js +22 -0
  34. package/lib/module/Icon/icons/Plus.js.map +1 -0
  35. package/lib/module/Icon/icons/UserCircleFill.js +22 -0
  36. package/lib/module/Icon/icons/UserCircleFill.js.map +1 -0
  37. package/lib/module/Icon/icons/UserCircleOutline.js +22 -0
  38. package/lib/module/Icon/icons/UserCircleOutline.js.map +1 -0
  39. package/lib/module/Select/README.md +2 -0
  40. package/lib/module/Select/Select.js +3 -1
  41. package/lib/module/Select/Select.js.map +1 -1
  42. package/lib/module/Ui/Card.js +6 -3
  43. package/lib/module/Ui/Card.js.map +1 -1
  44. package/lib/module/Ui/README_CARD.md +22 -0
  45. package/lib/typescript/src/Alert/Alert.d.ts +1 -0
  46. package/lib/typescript/src/Alert/Alert.d.ts.map +1 -1
  47. package/lib/typescript/src/Calendar/Calendar.d.ts +1 -0
  48. package/lib/typescript/src/Calendar/Calendar.d.ts.map +1 -1
  49. package/lib/typescript/src/Calendar/CalendarPropsType.d.ts +6 -4
  50. package/lib/typescript/src/Calendar/CalendarPropsType.d.ts.map +1 -1
  51. package/lib/typescript/src/Chip/Chip.d.ts.map +1 -1
  52. package/lib/typescript/src/Chip/type.d.ts +2 -1
  53. package/lib/typescript/src/Chip/type.d.ts.map +1 -1
  54. package/lib/typescript/src/DatePicker/DatePicker.d.ts +8 -2
  55. package/lib/typescript/src/DatePicker/DatePicker.d.ts.map +1 -1
  56. package/lib/typescript/src/Icon/Icon.d.ts.map +1 -1
  57. package/lib/typescript/src/Icon/icons/Bell.d.ts +9 -0
  58. package/lib/typescript/src/Icon/icons/Bell.d.ts.map +1 -0
  59. package/lib/typescript/src/Icon/icons/BookmarkUser.d.ts +9 -0
  60. package/lib/typescript/src/Icon/icons/BookmarkUser.d.ts.map +1 -0
  61. package/lib/typescript/src/Icon/icons/ClipBoardList.d.ts +9 -0
  62. package/lib/typescript/src/Icon/icons/ClipBoardList.d.ts.map +1 -0
  63. package/lib/typescript/src/Icon/icons/ClipBoardListCheck.d.ts +9 -0
  64. package/lib/typescript/src/Icon/icons/ClipBoardListCheck.d.ts.map +1 -0
  65. package/lib/typescript/src/Icon/icons/FileListCheck.d.ts +9 -0
  66. package/lib/typescript/src/Icon/icons/FileListCheck.d.ts.map +1 -0
  67. package/lib/typescript/src/Icon/icons/FileText.d.ts +9 -0
  68. package/lib/typescript/src/Icon/icons/FileText.d.ts.map +1 -0
  69. package/lib/typescript/src/Icon/icons/FolderClock.d.ts +9 -0
  70. package/lib/typescript/src/Icon/icons/FolderClock.d.ts.map +1 -0
  71. package/lib/typescript/src/Icon/icons/HomeFill.d.ts +9 -0
  72. package/lib/typescript/src/Icon/icons/HomeFill.d.ts.map +1 -0
  73. package/lib/typescript/src/Icon/icons/HomeOutline.d.ts +9 -0
  74. package/lib/typescript/src/Icon/icons/HomeOutline.d.ts.map +1 -0
  75. package/lib/typescript/src/Icon/icons/Megaphone.d.ts +9 -0
  76. package/lib/typescript/src/Icon/icons/Megaphone.d.ts.map +1 -0
  77. package/lib/typescript/src/Icon/icons/Plus.d.ts +9 -0
  78. package/lib/typescript/src/Icon/icons/Plus.d.ts.map +1 -0
  79. package/lib/typescript/src/Icon/icons/UserCircleFill.d.ts +9 -0
  80. package/lib/typescript/src/Icon/icons/UserCircleFill.d.ts.map +1 -0
  81. package/lib/typescript/src/Icon/icons/UserCircleOutline.d.ts +9 -0
  82. package/lib/typescript/src/Icon/icons/UserCircleOutline.d.ts.map +1 -0
  83. package/lib/typescript/src/Icon/type.d.ts +1 -1
  84. package/lib/typescript/src/Icon/type.d.ts.map +1 -1
  85. package/lib/typescript/src/Select/Select.d.ts +1 -1
  86. package/lib/typescript/src/Select/Select.d.ts.map +1 -1
  87. package/lib/typescript/src/Select/type.d.ts +2 -1
  88. package/lib/typescript/src/Select/type.d.ts.map +1 -1
  89. package/lib/typescript/src/Ui/Card.d.ts +2 -1
  90. package/lib/typescript/src/Ui/Card.d.ts.map +1 -1
  91. package/package.json +1 -1
  92. package/src/Alert/Alert.tsx +7 -1
  93. package/src/Calendar/Calendar.tsx +7 -1
  94. package/src/Calendar/CalendarPropsType.tsx +7 -4
  95. package/src/Chip/Chip.tsx +2 -0
  96. package/src/Chip/README.md +2 -0
  97. package/src/Chip/type.tsx +2 -1
  98. package/src/DatePicker/DatePicker.tsx +104 -5
  99. package/src/Icon/Icon.tsx +26 -2
  100. package/src/Icon/README.md +14 -1
  101. package/src/Icon/icons/Bell.tsx +37 -0
  102. package/src/Icon/icons/BookmarkUser.tsx +29 -0
  103. package/src/Icon/icons/ClipBoardList.tsx +29 -0
  104. package/src/Icon/icons/ClipBoardListCheck.tsx +29 -0
  105. package/src/Icon/icons/FileListCheck.tsx +29 -0
  106. package/src/Icon/icons/FileText.tsx +25 -0
  107. package/src/Icon/icons/FolderClock.tsx +25 -0
  108. package/src/Icon/icons/HomeFill.tsx +27 -0
  109. package/src/Icon/icons/HomeOutline.tsx +25 -0
  110. package/src/Icon/icons/Megaphone.tsx +19 -0
  111. package/src/Icon/icons/Plus.tsx +19 -0
  112. package/src/Icon/icons/UserCircleFill.tsx +23 -0
  113. package/src/Icon/icons/UserCircleOutline.tsx +23 -0
  114. package/src/Icon/type.tsx +14 -2
  115. package/src/Select/README.md +2 -0
  116. package/src/Select/Select.tsx +2 -0
  117. package/src/Select/type.tsx +2 -1
  118. package/src/Ui/Card.tsx +4 -1
  119. package/src/Ui/README_CARD.md +22 -0
  120. package/lib/module/Icon/icons/Home.js +0 -8
  121. package/lib/module/Icon/icons/Home.js.map +0 -1
  122. package/lib/typescript/src/Icon/icons/Home.d.ts +0 -2
  123. package/lib/typescript/src/Icon/icons/Home.d.ts.map +0 -1
  124. package/src/Icon/icons/Home.tsx +0 -5
@@ -0,0 +1,27 @@
1
+ import React from 'react';
2
+ import Svg, { Path } from 'react-native-svg';
3
+
4
+ interface Props {
5
+ size?: number;
6
+ color?: string;
7
+ style?: object;
8
+ }
9
+
10
+ const HomeFill: React.FC<Props> = ({ size = 24, color = '#000', style }) => (
11
+ <Svg
12
+ width={size}
13
+ height={size + 1}
14
+ viewBox="0 0 24 25"
15
+ fill="none"
16
+ style={style}
17
+ >
18
+ <Path
19
+ fill-rule="evenodd"
20
+ clip-rule="evenodd"
21
+ d="M20.2701 9.36973L13.5881 3.87668C12.6651 3.11768 11.3341 3.11768 10.4111 3.87668L3.73003 9.36973C3.16903 9.83073 2.90203 10.5587 3.03203 11.2727L4.48711 19.2547C4.70411 20.4427 5.73909 21.3067 6.94609 21.3067H17.052C18.26 21.3067 19.295 20.4427 19.511 19.2547L20.966 11.2717C21.098 10.5597 20.8311 9.83073 20.2701 9.36973ZM14 18.0577H10C9.58605 18.0577 9.25005 17.7217 9.25005 17.3077C9.25005 16.8937 9.58605 16.5577 10 16.5577H14C14.414 16.5577 14.75 16.8937 14.75 17.3077C14.75 17.7217 14.414 18.0577 14 18.0577Z"
22
+ fill={color}
23
+ />
24
+ </Svg>
25
+ );
26
+
27
+ export default HomeFill;
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ import Svg, { Path } from 'react-native-svg';
3
+
4
+ interface Props {
5
+ size?: number;
6
+ color?: string;
7
+ style?: object;
8
+ }
9
+
10
+ const HomeOutline: React.FC<Props> = ({ size = 24, color = '#000', style }) => (
11
+ <Svg
12
+ width={size}
13
+ height={size + 1}
14
+ viewBox="0 0 24 25"
15
+ fill="none"
16
+ style={style}
17
+ >
18
+ <Path
19
+ d="M17.053 22.0576H6.94805C5.37705 22.0576 4.03205 20.9356 3.75005 19.3906L2.2951 11.4076C2.1171 10.4266 2.48408 9.42367 3.25408 8.79067L9.93609 3.29763C11.1331 2.31363 12.8701 2.31363 14.0671 3.29763L20.7491 8.79067C21.5191 9.42367 21.8861 10.4266 21.7081 11.4076L20.2531 19.3906C19.9691 20.9356 18.624 22.0576 17.053 22.0576ZM12.0001 4.05862C11.6041 4.05862 11.21 4.19059 10.888 4.45559L4.20611 9.94863C3.85511 10.2366 3.68807 10.6927 3.77007 11.1387L5.22503 19.1206C5.37603 19.9526 6.10107 20.5567 6.94707 20.5567H17.0521C17.8981 20.5567 18.6221 19.9526 18.7741 19.1206L20.2291 11.1376C20.3101 10.6916 20.143 10.2366 19.793 9.94863L13.111 4.45559C12.79 4.19159 12.3961 4.05862 12.0001 4.05862ZM19.513 19.2556H19.523H19.513ZM14.7501 17.3076C14.7501 16.8936 14.4141 16.5576 14.0001 16.5576H10.0001C9.58605 16.5576 9.25005 16.8936 9.25005 17.3076C9.25005 17.7216 9.58605 18.0576 10.0001 18.0576H14.0001C14.4141 18.0576 14.7501 17.7216 14.7501 17.3076Z"
20
+ fill={color}
21
+ />
22
+ </Svg>
23
+ );
24
+
25
+ export default HomeOutline;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import Svg, { Path } from 'react-native-svg';
3
+
4
+ interface Props {
5
+ size?: number;
6
+ color?: string;
7
+ style?: object;
8
+ }
9
+
10
+ const Megaphone: React.FC<Props> = ({ size = 24, color = '#000', style }) => (
11
+ <Svg width={size} height={size} viewBox="0 0 24 24" fill="none" style={style}>
12
+ <Path
13
+ d="M21 3.92997V17.07C21 17.85 20.1 18.28 19.5 17.8L18.4699 16.9699C17.9869 16.5789 17.4639 16.2449 16.9129 15.9699C16.8129 15.9199 16.75 15.82 16.75 15.709V5.29197C16.75 5.17997 16.8129 5.08098 16.9129 5.03098C17.4629 4.75598 17.9869 4.42198 18.4699 4.03098L19.5 3.20096C20.1 2.71996 21 3.14997 21 3.92997ZM14.884 15.235C15.072 15.279 15.25 15.145 15.25 14.952V6.04697C15.25 5.85397 15.072 5.71995 14.884 5.76395C14.218 5.92095 13.5319 5.999 12.8399 5.999H7.69601C5.35001 5.999 3.25292 7.70898 3.02292 10.044C2.75892 12.727 4.85995 14.999 7.50095 14.999L9.95395 19.896C10.2929 20.572 10.984 20.999 11.74 20.999H13L12 14.999H12.8399C13.5329 15 14.218 15.078 14.884 15.235Z"
14
+ fill={color}
15
+ />
16
+ </Svg>
17
+ );
18
+
19
+ export default Megaphone;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import Svg, { Path } from 'react-native-svg';
3
+
4
+ interface Props {
5
+ size?: number;
6
+ color?: string;
7
+ style?: object;
8
+ }
9
+
10
+ const Plus: React.FC<Props> = ({ size = 24, color = '#909090', style }) => (
11
+ <Svg width={size} height={size} viewBox="0 0 16 17" fill="none" style={style}>
12
+ <Path
13
+ d="M15 7.84619H9V1.84619C9 1.29419 8.552 0.846191 8 0.846191C7.448 0.846191 7 1.29419 7 1.84619V7.84619H1C0.448 7.84619 0 8.29419 0 8.84619C0 9.39819 0.448 9.84619 1 9.84619H7V15.8462C7 16.3982 7.448 16.8462 8 16.8462C8.552 16.8462 9 16.3982 9 15.8462V9.84619H15C15.552 9.84619 16 9.39819 16 8.84619C16 8.29419 15.552 7.84619 15 7.84619Z"
14
+ fill={color}
15
+ />
16
+ </Svg>
17
+ );
18
+
19
+ export default Plus;
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import Svg, { Path } from 'react-native-svg';
3
+
4
+ interface Props {
5
+ size?: number;
6
+ color?: string;
7
+ style?: object;
8
+ }
9
+
10
+ const UserCircleFill: React.FC<Props> = ({
11
+ size = 24,
12
+ color = '#000',
13
+ style,
14
+ }) => (
15
+ <Svg width={size} height={size} viewBox="0 0 24 24" fill="none" style={style}>
16
+ <Path
17
+ d="M12 2C6.477 2 2 6.477 2 12C2 17.523 6.477 22 12 22C17.523 22 22 17.523 22 12C22 6.477 17.523 2 12 2ZM12.0081 7C13.6651 7 15.0081 8.343 15.0081 10C15.0081 11.657 13.6651 13 12.0081 13C10.3511 13 9.00806 11.657 9.00806 10C9.00806 8.343 10.3511 7 12.0081 7ZM12 20.5C9.79 20.5 7.77001 19.65 6.26001 18.26C6.70001 16.88 7.84004 15.5699 10.29 15.5699H13.71C16.15 15.5699 17.29 16.89 17.74 18.26C16.23 19.65 14.21 20.5 12 20.5Z"
18
+ fill={color}
19
+ />
20
+ </Svg>
21
+ );
22
+
23
+ export default UserCircleFill;
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import Svg, { Path } from 'react-native-svg';
3
+
4
+ interface Props {
5
+ size?: number;
6
+ color?: string;
7
+ style?: object;
8
+ }
9
+
10
+ const UserCircleOutline: React.FC<Props> = ({
11
+ size = 24,
12
+ color = '#000',
13
+ style,
14
+ }) => (
15
+ <Svg width={size} height={size} viewBox="0 0 24 24" fill="none" style={style}>
16
+ <Path
17
+ d="M22.75 12C22.75 6.072 17.928 1.25 12 1.25C6.072 1.25 1.25 6.072 1.25 12C1.25 15.47 2.90899 18.552 5.46899 20.519C5.47299 20.523 5.47903 20.5251 5.48303 20.5291C7.29403 21.9161 9.54898 22.75 12.001 22.75C14.453 22.75 16.708 21.9161 18.519 20.5291C18.523 20.5251 18.529 20.523 18.533 20.519C21.091 18.552 22.75 15.47 22.75 12ZM2.75 12C2.75 6.899 6.899 2.75 12 2.75C17.101 2.75 21.25 6.899 21.25 12C21.25 14.523 20.232 16.8121 18.588 18.4821C18.139 16.5811 16.702 14.8199 13.71 14.8199H10.29C7.29804 14.8199 5.85999 16.5811 5.41199 18.4821C3.76799 16.8121 2.75 14.523 2.75 12ZM6.75903 19.614C6.81703 18.588 7.28604 16.3199 10.29 16.3199H13.71C16.714 16.3199 17.183 18.588 17.241 19.614C15.75 20.644 13.945 21.25 12 21.25C10.055 21.25 8.25003 20.643 6.75903 19.614ZM12.0081 13.75C14.0751 13.75 15.7581 12.068 15.7581 10C15.7581 7.932 14.0751 6.25 12.0081 6.25C9.94106 6.25 8.25806 7.932 8.25806 10C8.25806 12.068 9.94006 13.75 12.0081 13.75ZM12.0081 7.75C13.2481 7.75 14.2581 8.759 14.2581 10C14.2581 11.241 13.2481 12.25 12.0081 12.25C10.7681 12.25 9.75806 11.241 9.75806 10C9.75806 8.759 10.7681 7.75 12.0081 7.75Z"
18
+ fill={color}
19
+ />
20
+ </Svg>
21
+ );
22
+
23
+ export default UserCircleOutline;
package/src/Icon/type.tsx CHANGED
@@ -3,7 +3,6 @@
3
3
  import { type ViewStyle } from 'react-native';
4
4
 
5
5
  export type IconNameProps =
6
- | 'Home'
7
6
  | 'Search'
8
7
  | 'User'
9
8
  | 'Eye'
@@ -27,7 +26,20 @@ export type IconNameProps =
27
26
  | 'AirPlane'
28
27
  | 'Camera'
29
28
  | 'Image'
30
- | 'Times';
29
+ | 'Times'
30
+ | 'Plus'
31
+ | 'Bell'
32
+ | 'file-list-check'
33
+ | 'file-text'
34
+ | 'bookmark-user'
35
+ | 'folder-clock'
36
+ | 'home-fill'
37
+ | 'home-outline'
38
+ | 'user-circle-outline'
39
+ | 'user-circle-fill'
40
+ | 'clipboard-list-check'
41
+ | 'clipboard-list'
42
+ | 'Megaphone';
31
43
 
32
44
  export interface IconProps {
33
45
  name: IconNameProps;
@@ -28,6 +28,8 @@ Komponen `Select` adalah komponen pemilihan data berbasis bottom sheet dengan du
28
28
  | `delaySearch`| `number` | `300` | Delay pencarian dalam milidetik |
29
29
  | `height` | `BottomSheetHeighProps` | - | Ukuran tinggi BottomSheet |
30
30
  | `onRefresh` | `() => void` | - | Callback saat pull-to-refresh dilakukan |
31
+ | `header` | ReactElement| – | Jika ingin chip mempunyai header. |
32
+ | `footer` | ReactElement| – | Jika ingin chip mempunyai footer. |
31
33
 
32
34
  ## 📌 Contoh Penggunaan
33
35
 
@@ -28,6 +28,7 @@ export default function Select({
28
28
  onRefresh,
29
29
  refreshing,
30
30
  footer,
31
+ header,
31
32
  onEndReached,
32
33
  }: SelectProps) {
33
34
  // const [isOpenSelect, setIsOpenSelect] = useState<boolean | undefined>(false);
@@ -106,6 +107,7 @@ export default function Select({
106
107
  block
107
108
  refreshing={refreshing}
108
109
  footer={footer}
110
+ header={header}
109
111
  />
110
112
  )}
111
113
  </View>
@@ -28,5 +28,6 @@ export interface SelectProps {
28
28
  onRefresh?: () => void;
29
29
  onEndReached?: () => void;
30
30
  refreshing?: boolean;
31
- footer?: React.ReactElement;
31
+ footer?: React.ComponentType<any> | React.ReactElement | null | undefined;
32
+ header?: React.ComponentType<any> | React.ReactElement | null | undefined;
32
33
  }
package/src/Ui/Card.tsx CHANGED
@@ -13,6 +13,7 @@ interface CardProps {
13
13
  style?: StyleProp<ViewStyle>;
14
14
  backgroundImage?: any;
15
15
  backgroundColor?: string;
16
+ borderColor?: string;
16
17
  }
17
18
 
18
19
  export default function Card({
@@ -20,6 +21,7 @@ export default function Card({
20
21
  style,
21
22
  backgroundImage,
22
23
  backgroundColor,
24
+ borderColor = Color.gray['100'],
23
25
  }: CardProps) {
24
26
  if (backgroundImage) {
25
27
  return (
@@ -37,6 +39,7 @@ export default function Card({
37
39
  style={[
38
40
  styles.container,
39
41
  style,
42
+ typeof borderColor === 'string' && { borderColor },
40
43
  typeof backgroundColor === 'string' && { backgroundColor },
41
44
  ]}
42
45
  >
@@ -48,7 +51,7 @@ export default function Card({
48
51
  const sharedCardStyle = {
49
52
  borderWidth: 1,
50
53
  borderRadius: 8,
51
- borderColor: Color.gray['100'],
54
+ // borderColor: Color.gray['100'],
52
55
  padding: 10,
53
56
  };
54
57
 
@@ -52,6 +52,27 @@ export default function CardScreen() {
52
52
  ever since the 1500s,
53
53
  </Typography>
54
54
  </Card>
55
+ <Typography variant="h4" weight="semibold">
56
+ Border color
57
+ </Typography>
58
+ <Card
59
+ backgroundColor={Color.purple[50]}
60
+ borderColor={Color.purple[200]}
61
+ style={{ width: '48%' }}
62
+ >
63
+ <Icon
64
+ name="bookmark-user"
65
+ size={30}
66
+ color={Color.purple[500]}
67
+ style={{ marginBottom: 8 }}
68
+ />
69
+ <Typography color={Color.gray[900]} weight="semibold" variant="p3">
70
+ 200 Juta Tiket
71
+ </Typography>
72
+ <Typography color={Color.gray[600]} variant="t3">
73
+ Selesai Dikerjakan
74
+ </Typography>
75
+ </Card>
55
76
  </Container>
56
77
  </View>
57
78
  );
@@ -67,6 +88,7 @@ export default function CardScreen() {
67
88
  | `style` | `StyleProp<ViewStyle>` | ❌ | - | Gaya tambahan untuk Card (padding, margin, dsb). |
68
89
  | `backgroundImage` | `ImageSourcePropType` (`any`) | ❌ | - | Gambar latar belakang menggunakan `ImageBackground`. |
69
90
  | `backgroundColor` | `string` | ❌ | `#fff` | Warna latar belakang Card. |
91
+ | `borderColor` | `string` | ❌ | `#F2F2F2` | Warna border. |
70
92
 
71
93
  ## Catatan
72
94
  - Saat backgroundImage digunakan, ImageBackground akan membungkus children dan otomatis mengikuti styling dari Card.
@@ -1,8 +0,0 @@
1
- "use strict";
2
-
3
- import { View } from 'react-native';
4
- import { jsx as _jsx } from "react/jsx-runtime";
5
- export default function Home() {
6
- return /*#__PURE__*/_jsx(View, {});
7
- }
8
- //# sourceMappingURL=Home.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["View","jsx","_jsx","Home"],"sourceRoot":"../../../../src","sources":["Icon/icons/Home.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAQ,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEpC,eAAe,SAASC,IAAIA,CAAA,EAAG;EAC7B,oBAAOD,IAAA,CAACF,IAAI,IAAO,CAAC;AACtB","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- export default function Home(): import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=Home.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Home.d.ts","sourceRoot":"","sources":["../../../../../src/Icon/icons/Home.tsx"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,IAAI,4CAE3B"}
@@ -1,5 +0,0 @@
1
- import { View } from 'react-native';
2
-
3
- export default function Home() {
4
- return <View></View>;
5
- }