src/platform/forms-system/src/js/web-component-fields/commonFieldMapping.jsx
Function commonFieldMapping
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function commonFieldMapping(props) {
const { label, required, error, uiOptions, childrenProps } = props;
const labelHeaderLevelStyle = uiOptions?.labelHeaderLevelStyle;
const headerStyle = labelHeaderLevelStyle