UNPKG

@keycloakify/keycloak-admin-ui

Version:
11 lines 422 B
import { jsx as _jsx } from "react/jsx-runtime"; import { useTranslation } from "react-i18next"; import { Label } from "@patternfly/react-core"; export const MoreLabel = ({ array }) => { const { t } = useTranslation(); if (!array || array.length <= 1) { return null; } return _jsx(Label, { color: "blue", children: t("more", { count: array.length - 1 }) }); }; //# sourceMappingURL=MoreLabel.js.map