@react-pakistan/react-ui-collection
Version:
React UI Collection built upon React Storybook
28 lines (27 loc) • 611 B
TypeScript
import { ReactText } from 'react';
import { IStepItem } from '../checkout-confirmation';
export interface IPaymentFormField {
[key: string]: string;
}
export interface ICheckoutPaymentProps {
/**
* Text for H4 component
*/
headingH4: ReactText;
/**
* Array of steps
*/
steps: Array<IStepItem>;
/**
* Text property for Back Button component
*/
backButton: string;
/**
* Text property for Next Button component
*/
nextButton: string;
/**
* Array of Payment form fields
*/
paymentFormFields: Array<IPaymentFormField>;
}