forked from git.gladyson/openmonetis
- Replace ESLint with Biome for linting and formatting - Configure Biome with tabs, double quotes, and organized imports - Move all SQL/Drizzle queries from page.tsx files to data.ts files - Create new data.ts files for: ajustes, dashboard, relatorios/categorias - Update existing data.ts files: extrato, fatura (add lancamentos queries) - Remove all drizzle-orm imports from page.tsx files - Update README.md with new tooling info Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
22 lines
603 B
TypeScript
22 lines
603 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-1">
|
|
<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}
|
|
className="min-h-[36px] resize-none"
|
|
/>
|
|
</div>
|
|
);
|
|
}
|