import { PressableProps } from "react-native"; import { HapticFeedbackTypes } from "react-native-haptic-feedback"; import { BoxProps } from "../Box"; type ButtonSize = "small" | "large"; type ButtonVariant = "fillDark" | "fillLight" | "fillGray" | "fillSuccess" | "outline" | "outlineGray" | "outlineLight" | "text"; export interface ButtonProps extends BoxProps { children: React.ReactNode; size?: ButtonSize; variant?: ButtonVariant; onPress?: PressableProps["onPress"]; icon?: React.ReactNode; iconPosition?: "left" | "left-start" | "right"; /** * `haptic` can be used like: *