Admin Event

Add:
- admin/event: Tambah halaman detail dan status

Component Admin
Add:
- ShareComponent/Admin/ActionIconPlus

Package:
Install: react-native-qrcode-svg && react-native-svg

### No Issue
This commit is contained in:
2025-08-12 15:29:13 +08:00
parent 21f89aeec5
commit 25884b64e7
18 changed files with 942 additions and 29 deletions

View File

@@ -109,3 +109,23 @@ export const IconDot = ({ size, color }: { size?: number; color?: string }) => {
</>
);
};
export const IconList = ({
size,
color,
}: {
size?: number;
color?: string;
}) => {
return (
<>
<Ionicons
name="list"
size={size || ICON_SIZE_MEDIUM}
color={color || MainColor.white}
/>
</>
);
};

View File

@@ -1,10 +1,21 @@
import { MainColor } from "@/constants/color-palet";
import { ICON_SIZE_SMALL } from "@/constants/constans-value";
import { FontAwesome5 } from "@expo/vector-icons";
export default function IconEdit() {
export default function IconEdit({
size,
color,
}: {
size: number;
color: string;
}) {
return (
<>
<FontAwesome5 name="edit" size={ICON_SIZE_SMALL} color="white" />
<FontAwesome5
name="edit"
size={size || ICON_SIZE_SMALL}
color={color || MainColor.white}
/>
</>
);
}

View File

@@ -0,0 +1,21 @@
import ActionIcon from "@/components/ActionIcon/ActionIcon";
import { ICON_SIZE_SMALL } from "@/constants/constans-value";
import { Ionicons } from "@expo/vector-icons";
import { View } from "react-native";
export default function AdminActionIconPlus({
onPress,
}: {
onPress?: () => void;
}) {
return (
<>
<View style={{ flexDirection: "row" }}>
<ActionIcon
icon={<Ionicons name="add" size={ICON_SIZE_SMALL} color="black" />}
onPress={onPress}
/>
</View>
</>
);
}