mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 16:25:51 +01:00
feat(react/dialogs): port import
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import { Tooltip } from "bootstrap";
|
||||
import { useEffect, useRef } from "preact/compat";
|
||||
import { escapeQuotes } from "../../services/utils";
|
||||
import { ComponentChildren } from "preact";
|
||||
|
||||
interface FormCheckboxProps {
|
||||
name: string;
|
||||
label: string;
|
||||
label: string | ComponentChildren;
|
||||
/**
|
||||
* If set, the checkbox label will be underlined and dotted, indicating a hint. When hovered, it will show the hint text.
|
||||
*/
|
||||
|
||||
@@ -6,7 +6,7 @@ interface FormGroupProps {
|
||||
title?: string;
|
||||
className?: string;
|
||||
children: ComponentChildren;
|
||||
description?: string;
|
||||
description?: string | ComponentChildren;
|
||||
}
|
||||
|
||||
export default function FormGroup({ label, title, className, children, description, labelRef }: FormGroupProps) {
|
||||
|
||||
Reference in New Issue
Block a user