Container
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, sit amet blandit leo lobortis eget. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, sit amet blandit leo lobortis eget.
Interfaces
ContainerProps
Defined in: container.types.ts:8
The Container component’s properties.
Extends
unknown
<JSX.HTMLAttributes
<HTMLHtmlElement
>>.unknown
Properties
color?
optional
color:BaseColor
Defined in: container.types.ts:20
The color of the container.
Default
'surface';
noPadding?
optional
noPadding:boolean
Defined in: container.types.ts:30
If true
, the default padding will be removed.
Default
false;
tag?
optional
tag:"div"
|"span"
|"section"
|"article"
Defined in: container.types.ts:15
The tag to use for the container.
Default
'div';
variant?
optional
variant:"contained"
|"outlined"
|"colored"
Defined in: container.types.ts:25
The variant of the container. No variant will be applied by default.
Default
undefined;
Variables
Container
const
Container:Component
<ContainerProps
>
Defined in: container.component.tsx:10
A container component. Very flexible and can be used for most layout purposes.