4.1.1 • Published 2 years ago
@posten-hedwig/container v4.1.1
Container
Containers are “root” components that limits the width of it's wrapped contents and applies default side gutters. Containers does not apply any styling to its content such as font-family etc.
Usage
Install
npm install @posten-hedwig/container
Import
import { Container } from '@posten-hedwig/container'
Render
<Container>
This is a default container
</Container>
API
Container slim
This prop tells the container that it should be slim. Boolean. Default: false
<Container slim>
This is a slim container. Has wider side gutters on desktop. On mobile, the gutters are the same.
</Container>
Container pt
This prop gives responsive padding to the top of the container. Boolean. Default: false
<Container pt>
This is a container with responsive padding top
</Container>
Container pb
This prop gives responsive padding to the bottom of the container. Boolean. Default: false
<Container pb>
This is a container with responsive padding bottom
</Container>
4.1.1
2 years ago
4.1.0
2 years ago
4.0.1
2 years ago
4.0.0
2 years ago
4.1.0-alpha.0
2 years ago
3.0.1
2 years ago
3.0.0
2 years ago
2.1.2-alpha.0
2 years ago
2.0.0-alpha.0
2 years ago
2.1.1-alpha.0
2 years ago
2.1.0-alpha.0
2 years ago
1.0.1
3 years ago