mirror of
https://github.com/remvze/moodist.git
synced 2025-12-17 08:54:13 +00:00
feat: change tooltip content
This commit is contained in:
parent
240fd9c6e0
commit
941e1f0241
1 changed files with 2 additions and 2 deletions
|
|
@ -46,8 +46,8 @@ export function Notepad({ onClose, show }: NotepadProps) {
|
||||||
<Button
|
<Button
|
||||||
critical={!history}
|
critical={!history}
|
||||||
icon={history ? <FaUndo /> : <BiTrash />}
|
icon={history ? <FaUndo /> : <BiTrash />}
|
||||||
recommended={history}
|
recommended={!!history}
|
||||||
tooltip="Clear Note"
|
tooltip={history ? 'Restore Note' : 'Clear Note'}
|
||||||
onClick={() => (history ? restore() : clear())}
|
onClick={() => (history ? restore() : clear())}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue