UNPKG

zips-react-native-sdk-test

Version:

Lightweight ZIPS Payment Gateway SDK for React Native - Complete payment solution with card payments, wallet payments (AfrMoney & ZApp), netbanking, and native UI design

22 lines (21 loc) 1.02 kB
import React from 'react'; import { ViewStyle, TextStyle } from 'react-native'; export interface ButtonProps { onPress: () => void; title?: string; children?: React.ReactNode; variant?: 'default' | 'outlined' | 'ghost' | 'success' | 'danger' | 'warning'; size?: 'small' | 'medium' | 'large'; disabled?: boolean; loading?: boolean; fullWidth?: boolean; style?: ViewStyle; textStyle?: TextStyle; icon?: React.ReactNode; iconPosition?: 'left' | 'right'; } export declare const Button: React.FC<ButtonProps>; export declare function PrimaryButton(props: Omit<ButtonProps, 'variant'>): import("react/jsx-runtime").JSX.Element; export declare function SecondaryButton(props: Omit<ButtonProps, 'variant'>): import("react/jsx-runtime").JSX.Element; export declare function SuccessButton(props: Omit<ButtonProps, 'variant'>): import("react/jsx-runtime").JSX.Element; export declare function DangerButton(props: Omit<ButtonProps, 'variant'>): import("react/jsx-runtime").JSX.Element;