@rjsf/core
Version:
A simple React component capable of building HTML forms out of a JSON schema.
11 lines (10 loc) • 555 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
/** Renders a `GridTemplate` for bootstrap 3, which is expecting the column information coming in via the `className`
* prop. Also spreads all the other props provided by the user directly on the div.
*
* @param props - The GridTemplateProps, including the expected className for the bootstrap 3 grid behavior
*/
export default function GridTemplate(props) {
const { children, column, className, ...rest } = props;
return (_jsx("div", { className: className, ...rest, children: children }));
}