import { View, Text, Button, Card, XStack } from "tamagui"; import React from "react"; import Pressable from "@/components/ui/pressable"; import Icons from "@/components/ui/icons"; type KeyItemProps = { data: any; onPress?: () => void; }; const icons: Record = { user: "account", pve: "account-key", rsa: "key", cert: "certificate", }; const KeyItem = ({ data, onPress }: KeyItemProps) => { return ( {data.label} {data.type} ); }; export default KeyItem;