diff --git a/web/src/components/AccountSelect.jsx b/web/src/components/AccountSelect.jsx new file mode 100644 index 0000000..61c0d7a --- /dev/null +++ b/web/src/components/AccountSelect.jsx @@ -0,0 +1,133 @@ +import { useEffect, useRef, useState } from "react"; +import { createPortal } from "react-dom"; +import { useTranslation } from "react-i18next"; + +import Icon from "./Icon"; +import IconChip from "./IconChip"; + +// Konto-Auswahl mit Symbol und Kontofarbe. Das native setAccountId(e.target.value)}> - {accounts.map((a) => )} - + setAccountId(id != null ? String(id) : "")} />