1 | import * as React from 'react';
|
2 | import { TooltipPosition } from '../Tooltip';
|
3 | import { PopoverPosition } from '../Popover';
|
4 | export interface ClipboardCopyButtonProps extends Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, 'ref'> {
|
5 |
|
6 | onClick: (event: React.MouseEvent) => void;
|
7 |
|
8 | children: React.ReactNode;
|
9 |
|
10 | id: string;
|
11 |
|
12 | textId: string;
|
13 |
|
14 | className?: string;
|
15 |
|
16 | exitDelay?: number;
|
17 |
|
18 | entryDelay?: number;
|
19 |
|
20 | maxWidth?: string;
|
21 |
|
22 | position?: TooltipPosition | PopoverPosition | 'auto' | 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
|
23 |
|
24 | 'aria-label'?: string;
|
25 |
|
26 | variant?: 'control' | 'plain';
|
27 | }
|
28 | export declare const ClipboardCopyButton: React.FunctionComponent<ClipboardCopyButtonProps>;
|
29 |
|
\ | No newline at end of file |