+++ # ----------------------------------------------------------------------- # Do not edit this file. It is automatically generated by API Documenter. # ----------------------------------------------------------------------- title = "ClipboardButton" keywords = ["grafana","documentation","sdk","@grafana/ui"] type = "docs" +++ ## ClipboardButton class Signature ```typescript export declare class ClipboardButton extends PureComponent ``` Import ```typescript import { ClipboardButton } from '@grafana/ui'; ``` Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [setRef](#setref-property) | | (elem: HTMLButtonElement) => void | | Methods | Method | Modifiers | Description | | --- | --- | --- | | [componentDidMount()](#componentdidmount-method) | | | | [componentWillUnmount()](#componentwillunmount-method) | | | | [render()](#render-method) | | | ### setRef property Signature ```typescript setRef: (elem: HTMLButtonElement) => void; ``` ### componentDidMount method Signature ```typescript componentDidMount(): void; ``` Returns: `void` ### componentWillUnmount method Signature ```typescript componentWillUnmount(): void; ``` Returns: `void` ### render method Signature ```typescript render(): JSX.Element; ``` Returns: `JSX.Element`