MCPcopy Create free account
hub / github.com/sshwsfc/xadmin / render

Method render

packages/xadmin-antd/src/model/components/Pages.js:71–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69class ModelFormPage extends React.Component {
70
71 render() {
72 const { params, location: { query }, title, model, onSuccess } = this.props
73 const FormComponent = (model.components && model.components.DataForm) || C('Model.DataForm')
74 return (
75 <Page className={`xadmin-model-form-${model.key}`}
76 title={title}
77 content={<ModelBlock name="model.edit.nav" />}
78 actions={<ModelBlock name="model.edit.navbtn" />}>

Callers

nothing calls this directly

Calls 1

CFunction · 0.90

Tested by

no test coverage detected