@react-pakistan/react-ui-collection
Version:
React UI Collection built upon React Storybook
60 lines (59 loc) • 1.38 kB
TypeScript
import { ReactText } from 'react';
import { IStepItem } from '../checkout-confirmation';
export interface ICheckoutDeliveryFormField {
[]: string;
}
export interface ICheckoutDeliveryProps {
/**
* Main Heading text for H4 component
*/
mainHeadingH4: ReactText;
/**
* Array of steps
*/
steps: Array<IStepItem>;
/**
* Array of checkout delivery form fields
*/
checkoutDeliveryFormFields: Array<ICheckoutDeliveryFormField>;
/**
* Text for Country Label component
*/
countryLabel: string;
/**
* Text for Country component
*/
country: string;
/**
* Text for Billing Info component
*/
billingInfo: ReactText;
/**
* Sub Heading text for H4 component
*/
subHeadingH4: ReactText;
/**
* Text for Standard Shipping Main Text
*/
standardShippingMainText: ReactText;
/**
* Text for Standard Shipping Sub Text
*/
standardShippingSubText: ReactText;
/**
* Text for Express Shipping Main Task
*/
expressShippingMainText: ReactText;
/**
* Text for Express Shipping Sub Task
*/
expressShippingSubText: ReactText;
/**
* Text property for Back Button component
*/
backButton: string;
/**
* Text property for Next Button component
*/
nextButton: string;
}