Chika ed0ffc6332 Calculation/Form: rename render function
rename SectionsConfig to FormComponentConfig
export rebass types from UIKit
2022-06-01 19:46:16 +03:00

17 lines
673 B
TypeScript

/* eslint-disable object-curly-newline */
import type { FormComponentConfig } from '../../lib/renderFormComponent';
const config: FormComponentConfig = {
rows: [
[['selectProduct'], { gridTemplateColumns: '1fr' }],
[['tbxLeaseObjectPrice', 'tbxVATInLeaseObjectPrice', 'tbxLeaseObjectPriceWthtVAT']],
[['selectSupplierCurrency', 'tbxSupplierDiscountRub', 'tbxSupplierDiscountPerc']],
[['tbxFirstPaymentPerc', 'tbxFirstPaymentRub']],
[['tbxLeasingPeriod', 'tbxSaleBonus', 'tbxRedemptionPaymentSum']],
[['selectSubsidy', 'labelSubsidySum']],
[['tbxLastPaymentPerc', 'tbxLastPaymentRub', 'radioLastPaymentRule']],
],
};
export default config;