@keycloakify/keycloak-admin-ui
Version:
Repackaged Keycloak Admin UI
13 lines • 790 B
JavaScript
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
import { useTranslation } from "react-i18next";
import { TextControl } from "../../ui-shared";
export const NameDescription = () => {
const { t } = useTranslation();
return (_jsxs(_Fragment, { children: [_jsx(TextControl, { name: "alias", label: t("name"), labelIcon: t("flowNameHelp"), rules: { required: { value: true, message: t("required") } } }), _jsx(TextControl, { name: "description", label: t("description"), labelIcon: t("flowDescriptionHelp"), rules: {
maxLength: {
value: 255,
message: t("maxLength", { length: 255 }),
},
} })] }));
};
//# sourceMappingURL=NameDescription.js.map