mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-16 01:09:55 +00:00
[Glitch] Status quote button
Port 8268323d7f to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
import type { KeyboardEvent, MouseEvent, TouchEvent } from 'react';
|
||||
|
||||
interface BaseMenuItem {
|
||||
text: string;
|
||||
dangerous?: boolean;
|
||||
}
|
||||
|
||||
export interface ActionMenuItem extends BaseMenuItem {
|
||||
action: () => void;
|
||||
action: (event: MouseEvent | KeyboardEvent | TouchEvent) => void;
|
||||
}
|
||||
|
||||
export interface LinkMenuItem extends BaseMenuItem {
|
||||
|
||||
Reference in New Issue
Block a user