import React from "react"; import { Pressable, PressableProps, ViewProps } from "react-native"; import useThemeColor from "../useThemeColor"; import Icon, { IconOptions } from "./Icon"; export default function IconButton({ icon, onPress, style, size = 24, color, bordered = true, align, }: { icon: IconOptions; onPress: PressableProps["onPress"]; style?: ViewProps["style"]; size?: number; color?: string; bordered?: boolean; align?: | "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | "auto"; }) { const borderColor = useThemeColor("border"); return ( ); }