Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

Info

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.

...