Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

ClipboardButton class

Signature

typescript
export declare class ClipboardButton extends PureComponent<Props> 

Import

typescript
import { ClipboardButton } from '@grafana/ui';

Properties

PropertyModifiersTypeDescription
setRef(elem: HTMLButtonElement) => void

Methods

MethodModifiersDescription
componentDidMount()
componentWillUnmount()
render()

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