@pagopa/mui-italia
Version:
[Material-UI](https://mui.com/core/) theme inspired by [Bootstrap Italia](https://italia.github.io/bootstrap-italia/).
10 lines (9 loc) • 492 B
TypeScript
/// <reference types="react" />
import type { IconButtonProps } from "@mui/material";
export interface CopyToClipboardProps extends Omit<IconButtonProps, "onClick" | "value"> {
/** Value or a function that returns what should be copied to clipboard */
value: (() => string) | string;
/** If given renders a tooltip with the given message on copy to clipboard button press */
tooltipTitle?: string;
}
export declare const CopyToClipboardButton: React.FC<CopyToClipboardProps>;