mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-21 05:41:17 -04:00
all components should accept additional classnames
This commit is contained in:
@@ -50,11 +50,7 @@ const CopyButton = ({ source, timeout = 2000, className }: Props) => {
|
||||
onClick={handleCopy}
|
||||
disabled={!!copied}
|
||||
>
|
||||
{copied ? (
|
||||
<CheckOcticon className="icon" fill="currentColor" />
|
||||
) : (
|
||||
<ClipboardOcticon className="icon" fill="currentColor" />
|
||||
)}
|
||||
{copied ? <CheckOcticon fill="currentColor" /> : <ClipboardOcticon fill="currentColor" />}
|
||||
</button>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user