import type { VbenFormProps } from '#/adapter/form';

export const applyFormProps: VbenFormProps = {
  wrapperClass: 'grid-cols-12',
  commonConfig: {
    formItemClass: 'col-span-12',
    componentProps: {
      class: 'w-full',
    },
  },
  layout: 'horizontal',
  schema: [
    {
      component: 'InputNumber',
      componentProps: {
        placeholder: '请输入提现金额',
        min: 1,
        precision: 2,
        class: 'w-full',
      },
      fieldName: 'amount',
      label: '提现金额',
      rules: 'required',
    },
  ],
  showDefaultActions: false,
};
