1
0
Fork 0

[react] fix: CopyToClipboardButton style

See #264
This commit is contained in:
joostdecock 2025-05-03 12:47:56 +02:00
parent 07eae0a9cd
commit e9e551bd46

View file

@ -29,7 +29,10 @@ export const CopyToClipboardButton = ({ children, content, label = false, sup =
return (
<button
className={(copied ? 'tw:text-success ' : '') + 'tw:daisy-btn tw:w-full tw:lg:w-auto'}
className={
(copied ? 'tw:text-success ' : '') +
'tw:daisy-btn tw:w-full tw:daisy-btn-ghost tw:lg:w-auto'
}
onClick={() => handleCopied(content, setCopied, setLoadingStatus, label)}
>
{copied ? (