diff --git a/guids-generator.html b/guids-generator.html index cb5bcb8..07c0e22 100644 --- a/guids-generator.html +++ b/guids-generator.html @@ -82,6 +82,16 @@ table: { padding: "0", }, + copyButton: { + float: "right", + }, + copyButtonSuccess: { + float: "right", + backgroundColor: theme.palette.success.main, + "&:hover,&:focus,&:visited,&": { + backgroundColor: theme.palette.success.dark, + } + }, })); const StyledTableCell = withStyles((theme) => ({ @@ -405,6 +415,13 @@ }) } + let onCopyButtonClick = () => { + setCopied(true); + setTimeout(function() { + setCopied(false); + }, 3000); + } + return (