import { useLingui } from "@lingui/react/macro"; import type * as React from "react"; import { HelpTooltip } from "./FieldHelpLabel.js"; export interface DialogSectionProps { title: string; description?: React.ReactNode; help?: React.ReactNode; action?: React.ReactNode; children?: React.ReactNode; } export function DialogSection({ title: label, description, help, action, children, }: DialogSectionProps) { const { t } = useLingui(); return (
{description}
}