UNPKG

@rjsf/semantic-ui

Version:

Semantic UI theme, fields and widgets for react-jsonschema-form

13 lines 483 B
import { jsx as _jsx } from "react/jsx-runtime"; /** The `DescriptionField` is the template to use to render the description of a field * * @param props - The `DescriptionFieldProps` for this component */ export default function DescriptionField(props) { const { id, description } = props; if (!description) { return null; } return (_jsx("p", { id: id, className: 'sui-description', children: description })); } //# sourceMappingURL=DescriptionField.js.map