UNPKG

@open-formulieren/formio-builder

Version:

An opinionated Formio webform builder for Open Forms

10 lines (9 loc) 567 B
import { jsx as _jsx } from "react/jsx-runtime"; import { FormattedMessage, useIntl } from 'react-intl'; import { Checkbox } from '../formio'; const ShowCharCount = () => { const intl = useIntl(); const tooltip = intl.formatMessage({ id: "5LxMj7", defaultMessage: [{ type: 0, value: "Show a live count of the number of characters." }] }); return (_jsx(Checkbox, { name: "showCharCount", label: _jsx(FormattedMessage, { id: 'ktjLJK', defaultMessage: [{ type: 0, value: "Show character counter" }] }), tooltip: tooltip })); }; export default ShowCharCount;