mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-01 04:37:57 +01:00
fix(Toast)!: rename click to onClick for consistency
This commit is contained in:
@@ -98,7 +98,7 @@ function addToast() {
|
||||
add({
|
||||
id,
|
||||
...template,
|
||||
click(toast) {
|
||||
onClick(toast) {
|
||||
console.log(`Toast ${toast.id} clicked`)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user