mirror of
https://github.com/pheralb/svgl.git
synced 2024-11-10 14:46:54 +08:00
✨ Improve buttons accessibility
This commit is contained in:
parent
5e349a68a0
commit
c5dc547e3f
@ -128,6 +128,7 @@
|
|||||||
|
|
||||||
<Popover.Root open={optionsOpen} onOpenChange={(isOpen) => (optionsOpen = isOpen)}>
|
<Popover.Root open={optionsOpen} onOpenChange={(isOpen) => (optionsOpen = isOpen)}>
|
||||||
<Popover.Trigger
|
<Popover.Trigger
|
||||||
|
title="Copy SVG element as svg file, React TSX code, or React JSX code"
|
||||||
class="flex items-center space-x-2 rounded-md p-2 duration-100 hover:bg-neutral-200 dark:hover:bg-neutral-700/40"
|
class="flex items-center space-x-2 rounded-md p-2 duration-100 hover:bg-neutral-200 dark:hover:bg-neutral-700/40"
|
||||||
>
|
>
|
||||||
{#if optionsOpen}
|
{#if optionsOpen}
|
||||||
@ -166,4 +167,4 @@
|
|||||||
<span>Copy JSX</span>
|
<span>Copy JSX</span>
|
||||||
</button>
|
</button>
|
||||||
</Popover.Content>
|
</Popover.Content>
|
||||||
</Popover.Root>
|
</Popover.Root>
|
||||||
|
Loading…
Reference in New Issue
Block a user