import { memo } from "react"; import { Text, View } from "react-native"; import { Button } from "../../Button"; import { AppIcons } from "../../.."; type ActionType = "notifications"; export type ActionT = { type: ActionType; label: string; onPress: () => void; showBadge?: boolean; }; type Props = { title: string; actions?: ActionT[]; }; const NotificationsAction = ({ label, onPress, showBadge }: ActionT) => { return (