@open-formulieren/formio-builder
Version:
An opinionated Formio webform builder for Open Forms
12 lines (11 loc) • 825 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { FormattedMessage, useIntl } from 'react-intl';
import { TextField } from '../formio';
const Suffix = () => {
const intl = useIntl();
const tooltip = intl.formatMessage({ id: "czUDSQ", defaultMessage: [{ type: 0, value: "A short indicator that can provide more context for the expected field value. The <sup> and <sub> HTML tags are supported." }] });
return (_jsx(TextField, { name: "suffix", label: _jsx(FormattedMessage, { id: 'cAio/J', defaultMessage: [{ type: 0, value: "A short indicator to discribe the field value, e.g. " }, { type: 8, value: "example", children: [] }, { type: 0, value: "." }], values: {
example: () => _jsx("code", { children: "m<sup>3</sup>" }),
} }), tooltip: tooltip }));
};
export default Suffix;