Add: - app/(application)/(user)/investment/[id]/(news)/ Fix: - app/(application)/(user)/investment/[id]/[status]/detail.tsx - screens/Invesment/BoxDetailDataSection.tsx Component Add: - Tambah icon : IconDocument, IconNews, IconPlus, IconProspectus, IconTrash ## No Issue
16 lines
395 B
TypeScript
16 lines
395 B
TypeScript
import { MainColor } from "@/constants/color-palet";
|
|
import { ICON_SIZE_MEDIUM } from "@/constants/constans-value";
|
|
import { Ionicons } from "@expo/vector-icons";
|
|
|
|
export { IconTrash };
|
|
|
|
function IconTrash({ color, size }: { color?: string; size?: number }) {
|
|
return (
|
|
<Ionicons
|
|
name="trash"
|
|
size={size || ICON_SIZE_MEDIUM}
|
|
color={color || MainColor.white}
|
|
/>
|
|
);
|
|
}
|