razorpay-react-sdk
Version:
A simple Razorpay integration package for React & Next.js with TypeScript support.
20 lines (19 loc) • 652 B
TypeScript
export type Theme = {
/**
* Used to display or hide the top bar on the Checkout form.
*
* This bar shows the selected payment method, phone number and gives the customer the option to navigate back to the start of the Checkout form.
*
* - `true`: Hides the top bar
* - `false` (default): Displays the top bar
*/
hide_topbar?: boolean;
/**
* Enter your brand color's HEX code to alter the text, payment method icons, and CTA button color of the Checkout form.
*/
color?: string;
/**
* Enter a HEX code to change the Checkout's backdrop color.
*/
backdrop_color?: string;
};