@wordpress/components
Version:
UI components for WordPress.
16 lines • 647 B
TypeScript
/**
* @param {Object} props
* @param {string} [props.className]
* @param {import('react').ReactNode} props.children
* @param {() => void} props.onCopy
* @param {() => void} [props.onFinishCopy]
* @param {string} props.text
*/
export default function ClipboardButton({ className, children, onCopy, onFinishCopy, text, ...buttonProps }: {
className?: string | undefined;
children: import('react').ReactNode;
onCopy: () => void;
onFinishCopy?: (() => void) | undefined;
text: string;
}): JSX.Element;
//# sourceMappingURL=index.d.ts.map