mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 16:25:51 +01:00
feat(react/settings): basic hook to read Trilium option
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import type { ComponentChildren } from "preact";
|
||||
|
||||
interface FormRadioProps {
|
||||
name: string;
|
||||
currentValue?: string;
|
||||
values: {
|
||||
value: string;
|
||||
label: string;
|
||||
label: string | ComponentChildren;
|
||||
}[];
|
||||
onChange(newValue: string): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user