Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Introduction

‘Container’ component allows to wrap the content and to have that wrapper in one place, so styles won’t be copy-pasted. Using this component maximum width will be limited as well as paddings. It prevents content from “sticking” to the screen.

If the changes are needed for entire project, then it is enough to change the token in one place, the rest will be applied automatically.


Props

Props of the Button base component are also available.

Name

Control

Description

children

Container text

maxWidth*

container

block

full

className

Set string

disableGutters

Set boolean

  • No labels