This is a design for a multilingual text input field for React/TS with MUI components.
See package.json for the full list.
See here for a running example.
import TextInput from "./TextInput";
import { LabelType } from "./languageSlice";
//...
const labels: LabelType = {
de: "Eine Beschriftung",
en: "A label",
fr: "Une étiquette"
};
return(
<>
<TextInput
inputId="someveryuniqueidentifier"
labels={labels}
/>
</>)