Footer Type

To set the default footer type

If the footer is enabled, then we have provided the option of setting the type of Footer. The user can set the type of footer during run-time and in development mode by following the under-written steps:-

Setting the Footer type in Run Time:-

Click on the settings button on the right corner of the screen just below the notification icon, a drawer will open in which you will find a footer type select dropdown and by using that dropdown, you can choose the footer type.

Setting the Footer Type in development mode (setting default Footer Type):-

To set the default footer type, go to the src/@crema/utility/ContextProvider/defaultConfig.js file

In this file, you will find a property named 'footerType'. You need to set the value of 'footerType' according to your choice from the accepted values like below

src/@crema/utility/ContextProvider/defaultConfig.js
const defaultConfig = {
  footerType: FooterType.FLUID, // You can change it according your requirement
};
export default defaultConfig;

####### Footer Type (src/shared/constants/AppEnums.js) #########

export const FooterType = {
  FIXED: 'fixed',
  FLUID: 'fluid',
}; 

Last updated