import { Style } from 'twrnc/dist/esm/types'; import { TailwindFn } from 'twrnc'; declare type Props = { tw: TailwindFn; onPress: () => void; style?: Style; textStyle?: Style; children: string; type?: 'primary' | 'secondary'; iconLeft?: string; iconRight?: string; loadingIcon?: string; loadingStyle?: Style; isLoading?: boolean; }; declare const Button: ({ tw, style, textStyle, onPress, children, type, iconLeft, iconRight, loadingIcon, loadingStyle, isLoading, }: Props) => JSX.Element; export default Button;