big format
This commit is contained in:
@@ -21,7 +21,11 @@ export function CopyButton(props: CopyButtonProps) {
|
||||
return (
|
||||
<div data-component="copy-button" class={styles.root}>
|
||||
<button type="button" onClick={handleCopyClick} data-copied={copied() ? true : undefined}>
|
||||
{copied() ? <IconCheckCircle width={16} height={16} /> : <IconClipboard width={16} height={16} />}
|
||||
{copied() ? (
|
||||
<IconCheckCircle width={16} height={16} />
|
||||
) : (
|
||||
<IconClipboard width={16} height={16} />
|
||||
)}
|
||||
</button>
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user