UNPKG

expo-dynamic-image-crop

Version:

Dynamic image cropping component for Expo/React Native with free-form and fixed aspect ratio support

7 lines (6 loc) 326 B
import { jsx as _jsx } from "react/jsx-runtime"; import { TouchableOpacity } from "react-native"; import { Icon } from "./Icon"; export function IconButton({ text, iconID, color, ...buttonProps }) { return (_jsx(TouchableOpacity, { ...buttonProps, children: _jsx(Icon, { text: text, iconID: iconID, color: color }) })); }