UNPKG

@open-formulieren/formio-builder

Version:

An opinionated Formio webform builder for Open Forms

12 lines (11 loc) 591 B
import { jsx as _jsx } from "react/jsx-runtime"; import { FormattedMessage } from 'react-intl'; import { TemplatingHint } from '../../components/builder'; import { TextField } from '../formio'; import { LABELS } from './messages'; /* * The description contains additional useful information/hints for a given field to * clarify what's expected by the end-user filling out the form. */ const Description = () => (_jsx(TextField, { name: "description", label: _jsx(FormattedMessage, Object.assign({}, LABELS.description)), tooltip: _jsx(TemplatingHint, {}) })); export default Description;