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