import type { VbenFormProps } from '@vben/common-ui';

export const formOptions: VbenFormProps = {
  layout: 'inline',
  showResetButton: true,
  showSubmitButton: true,
  schemas: [
    {
      fieldName: 'name',
      component: 'Input',
      label: '名称',
      componentProps: { placeholder: '时效名称', allowClear: true },
    },
    {
      fieldName: 'status',
      component: 'Select',
      label: '状态',
      componentProps: {
        allowClear: true,
        options: [
          { label: '启用', value: 1 },
          { label: '禁用', value: 0 },
        ],
      },
    },
  ],
};
