import { ActionIcon, Button, CopyButton, MantineSize } from "@mantine/core"; import { IconCheck, IconCopy } from "@tabler/icons-react"; interface CopyButtonProps { value: string; caption: string; timeout?: number; size?: MantineSize; fullWidth?: boolean; onClick?: () => void; style?: React.CSSProperties; } export function CopyButtonIcon(props : CopyButtonProps) { return (
{({ copied, copy }) => ( )}
) }