razorpay-react-sdk
Version:
A simple Razorpay integration package for React & Next.js with TypeScript support.
24 lines (23 loc) • 746 B
TypeScript
export type ReadonlyFields = {
/**
* Used to set the contact field as read-only.
*
* - `true`: Customer will not be able to edit the contact field.
* - `false` (default): Customer will be able to edit the contact field.
*/
contact?: boolean;
/**
* Used to set the email field as read-only.
*
* - `true`: Customer will not be able to edit the email field.
* - `false` (default): Customer will be able to edit the email field.
*/
email?: boolean;
/**
* Used to set the name field as read-only.
*
* - `true`: Customer will not be able to edit the name field.
* - `false` (default): Customer will be able to edit the name field.
*/
name?: boolean;
};