UNPKG

@jbrowse/plugin-config

Version:

JBrowse 2 config utilities

15 lines (14 loc) 612 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = ConfigurationTextField; const jsx_runtime_1 = require("react/jsx-runtime"); const ui_1 = require("@jbrowse/core/ui"); const material_1 = require("@mui/material"); function ConfigurationTextField(props) { const { helperText } = props; return ((0, jsx_runtime_1.jsx)(material_1.TextField, { ...props, helperText: (0, jsx_runtime_1.jsx)(ui_1.SanitizedHTML, { html: helperText || '' }), fullWidth: true, slotProps: { formHelperText: { component: 'div', }, } })); }