@coveord/plasma-mantine
Version:
A Plasma flavoured Mantine theme
26 lines • 709 B
TypeScript
import { MantineColor } from '@mantine/core';
import { FunctionComponent } from 'react';
export interface CopyToClipboardProps {
/**
* The value to be copied to the clipboard.
*/
value: string;
/**
* Whether to display the string to be copied alongside the button.
*
* @default false
*/
withLabel?: boolean;
/**
* Called each time the value is copied to the clipboard
*/
onCopy?: () => void;
/**
* The color of the icon when idle
*
* @default 'gray'
*/
color?: MantineColor | (string & {});
}
export declare const CopyToClipboard: FunctionComponent<CopyToClipboardProps>;
//# sourceMappingURL=CopyToClipboard.d.ts.map