add tooltips
This commit is contained in:
parent
8c89938eaf
commit
37a13d1a00
1 changed files with 3 additions and 3 deletions
|
|
@ -31,16 +31,16 @@ export function PatternsTab({ context }) {
|
||||||
<h1 className="text-xl">{activePattern}</h1>
|
<h1 className="text-xl">{activePattern}</h1>
|
||||||
<div className="space-x-4 flex w-min">
|
<div className="space-x-4 flex w-min">
|
||||||
{!isExample && (
|
{!isExample && (
|
||||||
<button className="hover:opacity-50" onClick={() => renameActivePattern()}>
|
<button className="hover:opacity-50" onClick={() => renameActivePattern()} title="Rename">
|
||||||
<PencilSquareIcon className="w-5 h-5" />
|
<PencilSquareIcon className="w-5 h-5" />
|
||||||
{/* <PencilIcon className="w-5 h-5" /> */}
|
{/* <PencilIcon className="w-5 h-5" /> */}
|
||||||
</button>
|
</button>
|
||||||
)}
|
)}
|
||||||
<button className="hover:opacity-50" onClick={() => duplicateActivePattern()}>
|
<button className="hover:opacity-50" onClick={() => duplicateActivePattern()} title="Duplicate">
|
||||||
<DocumentDuplicateIcon className="w-5 h-5" />
|
<DocumentDuplicateIcon className="w-5 h-5" />
|
||||||
</button>
|
</button>
|
||||||
{!isExample && (
|
{!isExample && (
|
||||||
<button className="hover:opacity-50" onClick={() => deleteActivePattern()}>
|
<button className="hover:opacity-50" onClick={() => deleteActivePattern()} title="Delete">
|
||||||
<TrashIcon className="w-5 h-5" />
|
<TrashIcon className="w-5 h-5" />
|
||||||
</button>
|
</button>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue