Constructor
# new CustomBox(props) → {React.ReactElement}
Overview
A container with four custom styles applied viavariant
property.
Usage
In order to provide scrollbar with custom styling setcustomScrollbar
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 |
variant |
"Body" | "Tab" | "TabBody" | "TabScrollable" | The variant of the component. |
React.ReactElement