@commercelayer/react-components
Version:
The Official Commerce Layer React Components
15 lines (14 loc) • 485 B
TypeScript
import { type JSX, type ReactNode } from "react";
import { type PaymentMethodConfig } from "../../reducers/PaymentMethodReducer";
interface Props {
/**
* The children components to render inside the PaymentMethodsContainer.
*/
children: ReactNode;
/**
* Optional configuration for payment methods.
*/
config?: PaymentMethodConfig;
}
export declare function PaymentMethodsContainer(props: Props): JSX.Element;
export default PaymentMethodsContainer;