import apollo_core from "@uipath/apollo-core";
const MuiFormHelperText = (palette)=>({
        styleOverrides: {
            sizeSmall: {
                fontSize: apollo_core.FontFamily.FontXsSize
            },
            root: {
                fontSize: apollo_core.FontFamily.FontSSize,
                lineHeight: 1.5,
                color: palette.semantic.colorForegroundDeEmp,
                marginLeft: 0,
                marginTop: '4px',
                '&.Mui-error': {
                    color: palette.semantic.colorErrorText
                },
                '&.Mui-disabled': {
                    display: 'none',
                    color: palette.semantic.colorForegroundDisable
                }
            }
        },
        defaultProps: {
            component: 'div'
        }
    });
export { MuiFormHelperText };
