import { IIconProps, IIconSource } from "../Icon/types"; import { ISurfaceProps } from "../Surface"; import { GestureResponderEvent, PressableProps, View } from "react-native"; import { IAuthPerm } from "@resk/core/auth"; import { IClassName } from "../../types"; import { ReactElement, ReactNode, Ref } from "react"; import { IDict, IResourceName } from '@resk/core/types'; import buttonVariant, { IVariantPropsButton } from "../../variants/button"; export type IButtonBaseContext = Context & { loading: boolean; disabled: boolean; computedVariant: ReturnType; }; export interface IButtonProps extends Omit { /*** * The class name for the label */ labelClassName?: IClassName; /** * Position of the icon relative to the button label. * Can be either 'left' or 'right'. * * @example *