react-native-ecommerce-components
Version:
A compilation of components to optimize the development of your ecommerce
28 lines (27 loc) • 911 B
TypeScript
import React from 'react';
import { StyleProp, ViewStyle, TextStyle } from 'react-native';
type Language = 'en' | 'pt';
interface OrderConfirmationProps {
orderId: string;
orderDate: string;
totalAmount: number;
paymentMethod: string;
shippingAddress: string;
onContinueShopping: () => void;
onViewOrderDetails: () => void;
title?: string;
subTitle?: string;
language?: Language;
styles?: {
container?: StyleProp<ViewStyle>;
title?: StyleProp<TextStyle>;
subTitle?: StyleProp<TextStyle>;
orderInfo?: StyleProp<ViewStyle>;
orderInfoText?: StyleProp<TextStyle>;
buttonContainer?: StyleProp<ViewStyle>;
button?: StyleProp<ViewStyle>;
buttonText?: StyleProp<TextStyle>;
};
}
declare const OrderConfirmation: React.FC<OrderConfirmationProps>;
export default OrderConfirmation;