@iobroker/adapter-react-v5
Version:
React components to develop ioBroker interfaces with react.
15 lines (14 loc) • 374 B
TypeScript
/**
* Copy text to clipboard
*
* @param text Text to copy
* @param options Options
* @param options.debug Debug mode
* @param options.format Format of the data
* @param options.message Message to show in prompt
*/
export declare function copy(text: string, options?: {
debug?: boolean;
format?: 'text/plain' | 'text/html';
message?: string;
}): boolean;