rename pattern
This commit is contained in:
parent
4cae6c051b
commit
b8ca83ddd1
2 changed files with 18 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ import {
|
|||
deleteActivePattern,
|
||||
duplicateActivePattern,
|
||||
getUserPattern,
|
||||
renameActivePattern,
|
||||
} from '../../settings.mjs';
|
||||
|
||||
function classNames(...classes) {
|
||||
|
|
@ -34,6 +35,9 @@ export function PatternsTab({ context }) {
|
|||
<button className="underline" onClick={() => duplicateActivePattern()}>
|
||||
duplicate
|
||||
</button>
|
||||
<button className="underline" onClick={() => renameActivePattern()}>
|
||||
rename
|
||||
</button>
|
||||
<button className="underline" onClick={() => deleteActivePattern()}>
|
||||
delete
|
||||
</button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue