razorpay-react-sdk
Version:
A simple Razorpay integration package for React & Next.js with TypeScript support.
17 lines (16 loc) • 506 B
TypeScript
export type HiddenFields = {
/**
* Used to set the contact field as hidden.
*
* - `true`: Customer will not be able to view the contact field.
* - `false` (default): Customer will be able to view the contact field.
*/
contact?: boolean;
/**
* Used to set the email field as hidden.
*
* - `true`: Customer will not be able to view the email field.
* - `false` (default): Customer will be able to view the email field.
*/
email?: boolean;
};