@paypal/react-paypal-js
Version:
React components for the PayPal JS SDK
11 lines (10 loc) • 405 B
TypeScript
import type { ReactElement } from "react";
/**
* This component is use to copy the behavior from the Description component
* in the storybook Doc pages. It use the state of the Sandpack library
* to get the code inside the App.js file and write it into the clipboard
*
* @returns a ReactElement with the custom copy button
*/
declare const CopyButton: () => ReactElement;
export default CopyButton;