import ThemeText from '@/components/base/themeText'; import useColors from '@/hooks/useColors'; import rpx from '@/utils/rpx'; import React from 'react'; import {StyleProp, StyleSheet, ViewStyle} from 'react-native'; import {TouchableOpacity} from 'react-native-gesture-handler'; import Icon, {IIconName} from '@/components/base/icon.tsx'; interface IActionButtonProps { iconName: IIconName; iconColor?: string; title: string; action?: () => void; style?: StyleProp; } export default function ActionButton(props: IActionButtonProps) { const {iconName, iconColor, title, action, style} = props; const colors = useColors(); // rippleColor="rgba(0, 0, 0, .32)" return ( <> {title} ); } const styles = StyleSheet.create({ wrapper: { width: rpx(140), height: rpx(144), borderRadius: rpx(12), flexGrow: 1, flexShrink: 0, flexDirection: 'column', alignItems: 'center', justifyContent: 'center', }, text: { marginTop: rpx(12), }, });