ClipboardButton class

Signature

  1. export declare class ClipboardButton extends PureComponent<Props>

Import

  1. import { ClipboardButton } from '@grafana/ui';

Properties

PropertyModifiersTypeDescription
setRef(elem: HTMLButtonElement) => void

Methods

MethodModifiersDescription
componentDidMount()
componentWillUnmount()
render()

setRef property

Signature

  1. setRef: (elem: HTMLButtonElement) => void;

componentDidMount method

Signature

  1. componentDidMount(): void;

Returns:

void

componentWillUnmount method

Signature

  1. componentWillUnmount(): void;

Returns:

void

render method

Signature

  1. render(): JSX.Element;

Returns:

JSX.Element