mirror of
https://github.com/zadam/trilium.git
synced 2025-10-31 18:36:30 +01:00
feat(react/dialog): port note_type_chooser
This commit is contained in:
@@ -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>}
|
||||
|
||||
Reference in New Issue
Block a user