Job:
Add: - app/(application)/(user)/job/ Event: Fix: - app/(application)/(user)/event/(tabs)/_layout.tsx : penggunaan icon terpusat Collaboration: Fix: - app/(application)/(user)/collaboration/(tabs)/_layout.tsx : penggunaan icon terpusat Home Fix: - Penambahan onPres ke job Component Add: - Icon: home, status # No Issue
This commit is contained in:
10
components/_Icon/IconHome.tsx
Normal file
10
components/_Icon/IconHome.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import { ICON_SIZE_SMALL } from "@/constants/constans-value";
|
||||
import { Ionicons } from "@expo/vector-icons";
|
||||
|
||||
export default function IconHome({ color }: { color?: string }) {
|
||||
return (
|
||||
<>
|
||||
<Ionicons name="home" size={ICON_SIZE_SMALL} color={color || "white"} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
12
components/_Icon/IconStatus.tsx
Normal file
12
components/_Icon/IconStatus.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { ICON_SIZE_SMALL } from "@/constants/constans-value";
|
||||
import { MaterialIcons } from "@expo/vector-icons";
|
||||
|
||||
export default function IconStatus({ color }: { color?: string }) {
|
||||
return (
|
||||
<MaterialIcons
|
||||
size={ICON_SIZE_SMALL}
|
||||
name="checklist-rtl"
|
||||
color={color || "white"}
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
import IconEdit from "./IconEdit";
|
||||
import IconHome from "./IconHome";
|
||||
import IconStatus from "./IconStatus";
|
||||
|
||||
export { IconEdit };
|
||||
export { IconEdit, IconHome, IconStatus };
|
||||
|
||||
Reference in New Issue
Block a user