Entrega dashboard e correccoes transversais preservando Ofertas instalado
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-11-15 18:56:39 +02:00
parent 1349789226
commit fb076c174f
117 changed files with 10380 additions and 1905 deletions
@@ -0,0 +1,24 @@
import CatalogueChoiceSelect from './catalogue-choice-select';
import { currencyChoices } from '@/lib/catalogue-choice';
export default function CurrencySelect({
codes,
...props
}: {
codes?: readonly string[];
value: string;
onChange: (value: string) => void;
label?: string;
id?: string;
disabled?: boolean;
required?: boolean;
error?: string;
className?: string;
}) {
return (
<CatalogueChoiceSelect
{...props}
label={props.label ?? 'Moeda'}
options={currencyChoices(codes)}
/>
);
}