feat(react): port add_link

This commit is contained in:
Elian Doran
2025-08-04 12:58:42 +03:00
parent a62f12b427
commit e619a6ef7c
12 changed files with 207 additions and 199 deletions

View File

@@ -3,7 +3,7 @@ import { useRef } from "preact/hooks";
interface ButtonProps {
/** Reference to the button element. Mostly useful for requesting focus. */
buttonRef: RefObject<HTMLButtonElement>;
buttonRef?: RefObject<HTMLButtonElement>;
text: string;
className?: string;
keyboardShortcut?: string;