mirror of
https://github.com/docmost/docmost.git
synced 2026-05-22 18:22:42 +08:00
feat: A11y fixes (#2148)
This commit is contained in:
@@ -25,6 +25,7 @@ export default function CopyTextButton({ text, size }: CopyProps) {
|
||||
variant="subtle"
|
||||
onClick={copy}
|
||||
size={size}
|
||||
aria-label={copied ? t("Copied") : t("Copy")}
|
||||
>
|
||||
{copied ? <IconCheck size={16} /> : <IconCopy size={16} />}
|
||||
</ActionIcon>
|
||||
|
||||
Reference in New Issue
Block a user