Class

CustomBox

CustomBox(props) → {React.ReactElement}

Constructor

# new CustomBox(props) → {React.ReactElement}

Overview

A container with four custom styles applied via variant property.

Usage

In order to provide scrollbar with custom styling set customScrollbar property to true.
Parameters:
Name Type Description
props Object

Any other props will be forwarded to the root element.

children React.ReactNode

The content of the component.

className string

The class attribute of the root element.

customScrollbar boolean

If true scrollbar will have custom styling.

variant "Body" | "Tab" | "TabBody" | "TabScrollable"

The variant of the component.

View Source Utils/Containers/CustomBox.js, line 41

React.ReactElement