@mercadopago/sdk-react
Version:
Mercado Pago SDK React
25 lines (24 loc) • 711 B
TypeScript
import React from 'react';
import { TBrand } from './types';
/**
* Brand Brick allows you to communicate different messages related to the payment methods available via Mercado Pago in your store.
*
* Usage:
*
* ```ts
* import Brand, {initMercadoPago} from '@mercadopago/sdk-react'
*
* initMercadoPago('YOUR_PUBLIC_KEY')
*
* const Example = () => {
* return(
* <Brand />
* )
* }
* export default Example
* ```
*
* @see {@link https://www.mercadopago.com.ar/developers/en/docs/checkout-bricks/brand-brick/introduction Brand Brick documentation} for more information.
*/
declare const Brand: ({ onReady, customization, locale, id, }: TBrand) => React.JSX.Element;
export default Brand;