Add: - components/Notification/ - hooks/use-notification-store.tsx.back Fix: - app.config.js - app/(application)/(user)/_layout.tsx - app/(application)/(user)/home.tsx - app/(application)/(user)/test-notifications.tsx - app/(application)/_layout.tsx - app/_layout.tsx - components/_Icon/IconComponent.tsx - components/_Icon/IconPlus.tsx - components/_ShareComponent/NotificationInitializer.tsx - context/AuthContext.tsx - hooks/use-notification-store.tsx - ios/HIPMIBadungConnect/Info.plist - screens/Home/HeaderBell.tsx - service/api-device-token.ts - service/api-notifications.ts ### No Issue
25 lines
468 B
TypeScript
25 lines
468 B
TypeScript
import { MainColor } from "@/constants/color-palet";
|
|
import { ICON_SIZE_MEDIUM } from "@/constants/constans-value";
|
|
import { Octicons } from "@expo/vector-icons";
|
|
|
|
export { IconPlus };
|
|
|
|
function IconPlus({
|
|
color,
|
|
size,
|
|
onPress,
|
|
}: {
|
|
color?: string;
|
|
size?: number;
|
|
onPress?: () => void;
|
|
}) {
|
|
return (
|
|
<Octicons
|
|
name="plus-circle"
|
|
size={size || ICON_SIZE_MEDIUM}
|
|
color={color || MainColor.white}
|
|
onPress={onPress}
|
|
/>
|
|
);
|
|
}
|