import React from 'react'
import {amisRender, commonInfo} from '../../util/amis.tsx'

function TaskAdd() {
  return (
    <div className="task-add">
      {amisRender(
        {
          type: 'page',
          title: '任务添加',
          body: [
            {
              debug: commonInfo.debug,
              type: 'form',
              wrapWithPanel: false,
              mode: 'horizontal',
              labelAlign: 'left',
              body: [],
            },
          ],
        },
      )}
    </div>
  )
}

export default React.memo(TaskAdd)