fix: remove translateWithIdMenu, use translateWithId instead, rename translateWithIdInput (#1285)

* fix: remove translateWithIdMenu, use translateWithId instead

* chore: rename translateWithIdInput to translateWithIdSelection
This commit is contained in:
metonym 2022-05-04 07:40:10 -07:00 committed by GitHub
commit f7146b61dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 81 additions and 135 deletions

View file

@ -24,10 +24,7 @@
console.log(id); // "open" | "close"
return id;
}}"
translateWithIdMenu="{(id) => {
return id;
}}"
translateWithIdInput="{(id) => {
translateWithIdSelection="{(id) => {
console.log(id); // "clearAll" | "clearSelection"
return id;
}}"