forked from git.gladyson/openmonetis
- Adicionados ícones SVG para ChatGPT, Claude, Gemini e OpenRouter - Implementados ícones para modos claro e escuro do ChatGPT - Criado script de inicialização para PostgreSQL com extensão pgcrypto - Adicionado script de configuração de ambiente que faz backup do .env - Configurado tsconfig.json para TypeScript com opções de compilação
21 lines
597 B
TypeScript
21 lines
597 B
TypeScript
"use client";
|
|
|
|
import { Label } from "@/components/ui/label";
|
|
import { Textarea } from "@/components/ui/textarea";
|
|
import type { NoteSectionProps } from "./lancamento-dialog-types";
|
|
|
|
export function NoteSection({ formState, onFieldChange }: NoteSectionProps) {
|
|
return (
|
|
<div className="space-y-2">
|
|
<Label htmlFor="note">Anotação</Label>
|
|
<Textarea
|
|
id="note"
|
|
value={formState.note}
|
|
onChange={(event) => onFieldChange("note", event.target.value)}
|
|
placeholder="Adicione observações sobre o lançamento"
|
|
rows={2}
|
|
/>
|
|
</div>
|
|
);
|
|
}
|