import { classNames } from 'mixlea-utils-js'; import { View } from '@tarojs/components'; import type { MlBaseFormFooterProps } from './types'; export function FormFooter(props: MlBaseFormFooterProps) { const { showFooter, footerLeftSlots, footerRightSlots, footerPaddingX } = props; if (showFooter || footerLeftSlots || footerRightSlots) { return ( {footerLeftSlots && ( {footerLeftSlots?.map((slot) => slot())} )} {footerRightSlots && ( {footerRightSlots?.map((slot) => slot())} )} ); } return null; }