feat(react/dialog): port note_type_chooser

This commit is contained in:
Elian Doran
2025-08-06 11:39:31 +03:00
parent 2a40d6bb7e
commit 33e3112290
14 changed files with 238 additions and 214 deletions

View File

@@ -11,9 +11,11 @@ interface FormGroupProps {
export default function FormGroup({ label, title, className, children, description, labelRef }: FormGroupProps) {
return (
<div className={`form-group ${className}`} title={title}>
<div className={`form-group ${className}`} title={title}
style={{ "margin-bottom": "15px" }}>
<label style={{ width: "100%" }} ref={labelRef}>
{label} {children}
<div style={{ "margin-bottom": "10px" }}>{label}</div>
{children}
</label>
{description && <small className="form-text">{description}</small>}