import React from "react"; import { Pressable, type PressableProps } from "react-native"; import { PressableFeedback, cn } from "heroui-native"; export interface NPressProps extends PressableProps { children: React.ReactNode; feedback?: boolean; className?: string; } export const NPress = React.memo( ({ children, feedback = false, className = "", ...props }) => { if (feedback) { return ( {children} ); } return ( {children} ); }, ); NPress.displayName = "NPress";