import { View } from '@tarojs/components';

import type { PropsWithChildren } from 'react';
import type { MlBaseFormProps } from './types';

export function FormBody(props: PropsWithChildren<MlBaseFormProps>) {
  return <View className="flex-1 min-h-0 flex flex-col divide-y gap-y-1">{props.children}</View>;
}
