@rjsf/antd
Version:
Ant Design theme, fields and widgets for react-jsonschema-form
13 lines • 443 B
JavaScript
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("span", { id: id, children: description });
}
//# sourceMappingURL=index.js.map