Skip to main content

Root Styles

The Root Style feature provides the flexibility to apply custom styling to the menu section. With the rootStyles prop, you can pass a set of CSS properties to customize the appearance of the menu section according to your design preferences. The rootStyles prop accepts a CSSObject from the Emotion library.

Props

type RootStylesType = {
rootStyles?: CSSObject
}

Example

/vertical-menu/menu-section/root-styles

Source Code