@open-formulieren/formio-builder
Version:
An opinionated Formio webform builder for Open Forms
67 lines (66 loc) • 1.25 kB
JavaScript
import { jsx as e } from "react/jsx-runtime";
import { FormattedMessage as l } from "react-intl";
const o = ({
value: a,
maxLength: t
}) => {
const n = t !== void 0 ? /* @__PURE__ */ e(l, { id: "CZ4Fby", defaultMessage: [{
type: 1,
value: "length"
}, {
type: 0,
value: " "
}, {
type: 6,
value: "length",
options: {
one: {
value: [{
type: 0,
value: "character remaining"
}]
},
other: {
value: [{
type: 0,
value: "characters remaining"
}]
}
},
offset: 0,
pluralType: "cardinal"
}], values: {
length: t - a.length
} }) : /* @__PURE__ */ e(l, { id: "5dp5j+", defaultMessage: [{
type: 1,
value: "length"
}, {
type: 0,
value: " "
}, {
type: 6,
value: "length",
options: {
one: {
value: [{
type: 0,
value: "character"
}]
},
other: {
value: [{
type: 0,
value: "characters"
}]
}
},
offset: 0,
pluralType: "cardinal"
}], values: {
length: a.length
} });
return /* @__PURE__ */ e("span", { className: "text-muted", children: n });
};
export {
o as default
};